PureBytes Links
Trading Reference Links
|
Guy,
My "Ms70form.dta" file = 3.5 Mb in size and the "Ms70expl.dta" file is even 5.5 Mb.
Much like the Windows Registry dta files will only slightly realy shrink when Entries
are deleted from its dta's, neither will the MSK dta files shrink when you delete formulas.
This is a property of {the machine language being used in} the dta file format.
So, therefore and that's why you will have a large formula dta or whatever dta files.
Also dta's growing into unlimmited (!!!!) -and therefore not very practicle- file size(s).
The slowdown in Windows or in MSK achieved from OS reading these larger
dta files are not worth the mentioning here, since that the dta's aren't contstantly
being adressed, neither when loaded or when on disk. Contrairy, on the occassion
when they are being addressed, directly in MEM or on disk, then a too large file do
can slow down your process(es) tremendously. On program startup f.e., the dta files
will have to be loaded in MEM first and later, on a program or function call, is when
the OS will have to dig through the {immense} file content, eg to be able to address
the Entry.
A direct way to clean the MSK dta files is not at hand, neither in MSK nor in MS.
The MS utility RegClean {or utilities alike} will not work on dta files, other than on
the two(2) default Window's Registry dta files. And then these utilities aren't hardly
capable enough to have the Registry dta's shrink much in file size.
Workaround
There is a workaround to clean and/or to shrink the dta file {in} size, that can be
achieved as follows, by :
1) Exporting the Entries, to separate dta files{example: if you currently have 258
custom formulas, then you can export all in one lumb to one separate export file,
or to 258 single dta files or by using Copy & Paste or the Print button to print
all to a textfile.
then
2) replacing the current formula dta file for a previously made back up copy of
an original formula dta file{one that was created on a first install}
then
3) Importing the in step 1 exported formulas singly or in one lumb back into the
program, eg into the new back up copy {mentioned in step 2}, that you can now
use for the file "Ms[programversion]Form.dta". Use the Indicator Builder's Import
Tool or manualy, Copy+Paste from the forementioned text file. Use the ScripIt
program to automate the latter.
Ps: do not give up on your formula building, while now at the end, the end of the
tunnel is also in view sight.
Regards,
Ton Maas
ms-irb@xxxxxxxxxxxxxxxx
Dismiss the ".nospam" bit (including the dot) when replying.
Homepage http://home.planet.nl/~anthmaas
----- Oorspronkelijk bericht -----
Van: "Guy Tann"
Aan: <metastock@xxxxxxxxxxxxx>
Verzonden: vrijdag 6 oktober 2000 2:18
Onderwerp: RE: Worked yesterday, not today
> Bob,
>
> My MS70FORM.DTA is currently 1.50MB. Don't know if that's big or not. I
> have, in the past, deleted a bunch of stuff and with all of my testing, have
> added and deleted tons of indicators recently.
>
> Guy
>
> " If at first you don't succeed, skydiving is not for you."
>
> -----Original Message-----
> From: owner-metastock@xxxxxxxxxxxxx [mailto:owner-metastock@xxxxxxxxxxxxx]On
> Behalf Of Bob Jagow
> Sent: Thursday, October 05, 2000 2:48 PM
> To: metastock@xxxxxxxxxxxxx
> Subject: RE: Worked yesterday, not today
>
> I believe that, at least in some previous incarnations, deleted formulas
> never died; they just continued to clog MSXXFORM.DTA.
> There was in those versions an upper limit on its size.
>
> I'd bet yours is pretty big by now :>)
>
> Bob
>
> <<even though I only have 147 indicators and only a few with more than 2 or
> 3 variables (substantially less then the limits listed in
> the manual)>>
> > -----Original Message-----
> > From: owner-metastock@xxxxxxxxxxxxx
> > [mailto:owner-metastock@xxxxxxxxxxxxx]On Behalf Of Guy Tann
> > Sent: Thursday, October 05, 2000 1:43 PM
> > To: metastock@xxxxxxxxxxxxx
> > Subject: RE: Worked yesterday, not today
> >
> >
> > Michael,
> >
> > Tried it and it didn't work. I re-keyed the variable and used
> > the MS browse
> > function to select the appropriate variables to include. Bottom
> > line, this
> > variable just sums 6 other variables. Not brain surgery, to say
> > the least.
> > I'm just starting to get tired. I delete these indicators,
> > reenter them and
> > they might work or might not. All I can figure is that I've
> > managed to mess
> > up MS, even though I only have 147 indicators and only a few with
> > more than
> > 2 or 3 variables (substantially less then the limits listed in
> > the manual).
> >
> > I'm going to try this once more. I will delete these last two indicators
> > completely. I will then reenter them from scratch. I will then run a
> > series of tests. The first test will be a test of the last two
> > indicators,
> > each with 9 variables, that worked the last several times I
> > tested them. If
> > this test works, I will then enter one of the new variables into
> > a separate
> > indicator and see if it works. I plan on using MS to enter the variable
> > names unless you feel this might be one of my problems. If that function
> > doesn't work, I will key these in from scratch as well. If any of this
> > actually works, I'll try to input the next indicator. If I get through
> > these last 8 and if the program runs, I'll go out to celebrate.
> >
> > If that doesn't work, I'm going to drag out my VB and VBA manuals, send an
> > email to Walter to get a recommendation on sample programs and get my butt
> > in gear using VB. I own all of the software and books already, and I have
> > our basic system already running in Excel, so the only thing I
> > need to do is
> > write the interface to grab the daily data.
> >
> >
> > Guy
> >
> > " If at first you don't succeed, skydiving is not for you."
> >
> > -----Original Message-----
> > From: owner-metastock@xxxxxxxxxxxxx
> > [mailto:owner-metastock@xxxxxxxxxxxxx]On
> > Behalf Of michael
> > Sent: Thursday, October 05, 2000 5:19 AM
> > To: metastock@xxxxxxxxxxxxx
> > Subject: RE: Worked yesterday, not today
> >
> > >From you many posts of problems, I wonder if you are getting "invisable
> > characters" in your formulas. You have all of the symtoms. When
> > frequently
> > using the copy and paste features of windows, sometimes invisable
> > characters
> > get into your formulas and screw them up.
> >
> > Try deleting all of the text in you formula and keep deleting
> > until you are
> > certain that all characters, even the invisible ones are gone.
> > Then retype
> > the formula by hand. If it works, then invisable characters were the most
> > likely culprat.
> >
> > Hope this Helps,
> > Michael
> >
> > -----Original Message-----
> > From: owner-metastock@xxxxxxxxxxxxx
> > [mailto:owner-metastock@xxxxxxxxxxxxx]On Behalf Of Guy Tann
> > Sent: Thursday, October 05, 2000 3:22 AM
> > To: Metastock User Group
> > Subject: Worked yesterday, not today
> >
> >
> > List,
> >
> > Well, I've fought my way through all of my indicators, right down to the
> > final 8. Number 7 and 8 worked yesterday, albeit slowly. Today I tried
> > moving indicator 8 in with 7 (via cutting and pasting) and then
> > ran another
> > test, just to see if they continued to work. Just my paranoia about MS
> > working overtime and growing day-by-day. :)
> >
> > Anyway, they didn't work. Surprise! Well, I thought I'd take
> > another step
> > back and cut and paste them back into their own indicators again and see
> > what happened. That didn't work either. They both worked on Tuesday in
> > their individual indicators and don't work anymore as of Wednesday. I've
> > done everything I could think of. I made sure all of the extra
> > parens were
> > there. I made sure that I didn't split any lines of any function name
> > within the variable. I had no references to any plots, just the two
> > variables.
> >
> > Anyway, I'm too tired to play with them tonight, so I'll start again
> > tomorrow after taking the prodigal son to the school bus at 7AM and the
> > Tibetan Terriers to the groomers at 8AM.
> >
> > Darn, but all of this work makes me wonder whether this MS conversion is
> > really worth it. I can add this to my Excel spreadsheet in a day
> > or two as
> > opposed to the two months I've wasted so far. I'm really starting to get
> > frustrated and discouraged, which means I need a little sleep, so it's off
> > to bed as it's 12:30AM and I have to be up at 6.
> >
> > Guy
> >
> > " If at first you don't succeed, skydiving is not for you."
> >
> >
> >
> >
> >
>
>
|