Whole Tomato Software Forums
Whole Tomato Software Forums
Main Site | Profile | Register | Active Topics | Members | Search | FAQ
User name:
Password:
Save Password
Forgot your password?

 All Forums
 Visual Assist
 Technical Support
 1649: Huge cache?
 New Topic  Reply to Topic
 Printer Friendly
Author Previous Topic Topic Next Topic  

Frunobulax
Ketchup Master

84 Posts

Posted - Nov 06 2008 :  08:47:37 AM  Show Profile  Reply with Quote
Hi,

I recently discovered that the VAX folder in my "local settings" folder reached a size of 7 gigabytes. Hitting "clear cache" didn't change anything. I finally ended up deleting the folder, which didn't seem to be a problem.

I don't mind a bit of cache space, but 7 gig? And I would firmly expect that "clear cache" deletes all this stuff.

Regards, tv

"The nice part about being a pessimist
is that you are constantly being either
proven right or pleasantly surprised."
(George F. Will)

rhummer
Tomato Guru

USA
527 Posts

Posted - Nov 06 2008 :  10:14:10 AM  Show Profile  Reply with Quote
You also have to hit the "Rebuild" button. The "Clear Cache" only frees up history, cache, and temp files. At 7 gigs I would suspect something whet spiraling out of control with the symbol database.

Tools Engineer - Raven Software
VS2005 SP2/VS2008 SP1 - VAX <LATEST> - Win 7 x64

Go to Top of Page

Frunobulax
Ketchup Master

84 Posts

Posted - Nov 06 2008 :  6:36:59 PM  Show Profile  Reply with Quote
quote:
Originally posted by rhummer

You also have to hit the "Rebuild" button. The "Clear Cache" only frees up history, cache, and temp files. At 7 gigs I would suspect something whet spiraling out of control with the symbol database.



I always clear the cache when I do a rebuild, which is fairly frequently (every 1-2 days). And I agree, something is wrong here.

tv

"The nice part about being a pessimist
is that you are constantly being either
proven right or pleasantly surprised."
(George F. Will)
Go to Top of Page

sean
Whole Tomato Software

USA
2817 Posts

Posted - Nov 06 2008 :  8:23:43 PM  Show Profile  Reply with Quote
There are many directories underneath the VAX directory. If this continues to occur, please note the distribution of space in the sub-directories (CPP, cache, Sys, Proj*). It is alarming that it only takes 1-2 days for VA to use up 7GB of space! Do you often run with multiple instances of the IDE running simultaneously?
Go to Top of Page

Frunobulax
Ketchup Master

84 Posts

Posted - Nov 07 2008 :  02:24:19 AM  Show Profile  Reply with Quote
quote:
Originally posted by sean

There are many directories underneath the VAX directory. If this continues to occur, please note the distribution of space in the sub-directories (CPP, cache, Sys, Proj*). It is alarming that it only takes 1-2 days for VA to use up 7GB of space! Do you often run with multiple instances of the IDE running simultaneously?



Yes, we do, and we have some template-heavy c++ code in large projects that occasionally confuses VAX. But VAX doesn't use 7G within 1-2 days - I meant that I run "clean cache" every 1-2 days. The problem is that the folder is still 7G after the "clean cache+rebuild" treatment.

Regards, tv

"The nice part about being a pessimist
is that you are constantly being either
proven right or pleasantly surprised."
(George F. Will)
Go to Top of Page

Frunobulax
Ketchup Master

84 Posts

Posted - Nov 07 2008 :  11:40:20 AM  Show Profile  Reply with Quote
FYI, I deleted the local settings folder yesterday morning. Now it's at 400 MB.

Regards, tv


"The nice part about being a pessimist
is that you are constantly being either
proven right or pleasantly surprised."
(George F. Will)
Go to Top of Page

sean
Whole Tomato Software

USA
2817 Posts

Posted - Nov 07 2008 :  11:45:48 AM  Show Profile  Reply with Quote
When you press the Clear cache button, the changes are immediate. When you press the Rebuild button, the action is delayed until the next start of the IDE.

If you only ever run one instance at a time, Rebuild + Restart will clear the symbol database and rebuild it - so you will never see the space used by VA go all the way to 0 unless you manually delete the directories.

But I see that there is a problem when you run multiple instances - the symbol database is not actively shared, it's a passive sharing. Rebuild only applies to one instance of the db. I'm not sure that we want one instance to purge all other instances. Need to think about it.

One improvement we could make is to have the purge part of rebuild occur on shutdown rather than at startup. case=20799
Go to Top of Page

Frunobulax
Ketchup Master

84 Posts

Posted - Nov 08 2008 :  09:20:20 AM  Show Profile  Reply with Quote
quote:
Originally posted by sean

When you press the Clear cache button, the changes are immediate. When you press the Rebuild button, the action is delayed until the next start of the IDE.


Sure. I always close and reopen all IDE instances after rebuilding.

quote:

But I see that there is a problem when you run multiple instances - the symbol database is not actively shared, it's a passive sharing. Rebuild only applies to one instance of the db. I'm not sure that we want one instance to purge all other instances. Need to think about it.

One improvement we could make is to have the purge part of rebuild occur on shutdown rather than at startup. case=20799



The problem is: I chose clean and rebuild, closed all IDEs and opened the IDE again, and the cache was still at 7G.

After deleting the cache folder and working normally for 2 days, the cache is 400M. So clearly the cache wasn't removed correctly even after closing all IDEs.

Regards, tv


"The nice part about being a pessimist
is that you are constantly being either
proven right or pleasantly surprised."
(George F. Will)
Go to Top of Page

support
Whole Tomato Software

5566 Posts

Posted - Dec 01 2008 :  07:48:26 AM  Show Profile  Reply with Quote
case=20799 is fixed in build 1707
Go to Top of Page
  Previous Topic Topic Next Topic  
 New Topic  Reply to Topic
 Printer Friendly
Jump To:
© 2023 Whole Tomato Software, LLC Go To Top Of Page
Snitz Forums 2000