[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[IDV #ESN-459441]: "Always cache to disk" setting



Hi Hans,

> 
> Had another look at this problem, and I can't say I understand what is going 
> on.
> 
> On Friday, just before I sent you the email below, the bundle "remote-test" 
> worked. Running it yesterday, it did not work at all, it just caused this 
> never-ending stream of "OutOfMemory" messages. I then changed the heap size 
> from 1024m back to 512m, and the bundle did what it was supposed to, without 
> a single error message. So the larger heap size I use, the more out-of-memory 
> errors I get? Hmm...
> 


That is strange.

> I then went back to 1024m heap size, and the bundle still worked with no 
> errors. It still does.
> 
> I kind of get the impression that this might be memory related, though I do 
> not understand how. I sometimes get the feeling that the behavior, and error 
> messages, of one bundle depends somewhat on what bundles have been loaded 
> before that specific bundle(?) I have seen before that if you load a number 
> of bundles, one at a time and with all data and displays cleared before the 
> next bundle is loaded, you eventually get these "OutOfMemory" errors.
> 
> In this case, with the "remote-test" bundle, I closed IDV between every run, 
> though that did not change the end result.
> 
>

There might be memory leaks. Over the years they crop up and then we squash 
them.
In the lower left corner of the window is the memory monitor that shows:
 currently used memory/high water mark/max amount available

After you get remove all data and displays try right clicking on the monitor. 
There should be a popup menu that you can explicitly call "Clear Memory & 
Cache" 
The first number should go down to around 100M

-Jeff


Ticket Details
===================
Ticket ID: ESN-459441
Department: Support IDV
Priority: Normal
Status: Open