Author |
Topic |
|
eve
Tomato Guru
Belgium
101 Posts |
Posted - Nov 16 2006 : 04:36:09 AM
|
Hi,
I killed VAX while it was parsing. I realize that this is not the smartest thing to do, but I assumed the IDE was hanging (the status bar just said 'Ready'). The result of this violent act was that I could no longer start the project: during the next parse of VAX, the ide would start taking tons of memory, forcing me to kill it again as fast as possible.
So I wonder if it is possible that VAX would somehow detect that the previous parse was interrupted and that its database might be corrupt, or at least warn me that strange thins might happen.
thanks, eli |
|
feline
Whole Tomato Software
United Kingdom
19021 Posts |
Posted - Nov 16 2006 : 08:11:28 AM
|
Normally closing the IDE while VA is parsing should be fine, I have done this quite often myself. I believe some efforts are under way to detect a corrupt database.
I am more concerned about what prompted you to kill the IDE to begin with. Which IDE and language are you using? VS2005 with a large C++ project can appear to hang on its own, without VA installed, due to the IDE's intellisense parser. |
zen is the art of being at one with the two'ness |
|
|
eve
Tomato Guru
Belgium
101 Posts |
Posted - Nov 16 2006 : 08:29:25 AM
|
vs2005, C++ But I disabled the intellisense, so I don't think the problem comes from there.
Maybe I should give you the full explanation about what made me kill the IDE: - I pressed the rebuild and clear buttons in the VAX performance options dialog, but did not yet restart the IDE - from outside the IDE, I re-created the vcproj file. If you do that and enter the IDE again, then it reloads the solution by doing some internal startup. - This restart took rather long, so I killed the IDE
I assume that the restart took so long because VAX was rebuilding the symbol database, although I cannot prove that. What happened next was that during the parse of a large header, VAX went in some endless allocation loop that consumed all my memory (2 Gigs) in about 5 seconds. I just had enough time to kill the IDE again :-).
Anyway, I realize that this a bit of an exotic situation. But maybe it is possible to avoid going in an endless allocation loop? |
|
|
support
Whole Tomato Software
5566 Posts |
Posted - Nov 16 2006 : 10:35:50 AM
|
When you're not running the IDE, delete the IDE-specific subdirectory in the VA X installation directory if you ever want VA X to forget everything it knows about symbols and reparse everything. |
|
|
eve
Tomato Guru
Belgium
101 Posts |
Posted - Nov 16 2006 : 10:39:21 AM
|
Thanks, I'll remember that.
|
|
|
|
Topic |
|