Mark Fletcher wrote:
>  
> It seems that with each redraw of the app, XXE’s memory footprint grows
> a bit (~4Kb). This happens whether or not a document is opened. For
> example, I have my Task Manager window open and am just moving it back
> and forth in front of the XXE app. As I do so, I can see XXE’s memory
> use increasing. Just wondering if this is to be expected with a swing
> app (or any app, maybe) or not.
> 

I'm sorry but I don't know.

I can just tell you that:

* No other user/customer has reported memory leak problems. Out of
memory problems: yes, memory leaks: no.

* Java manages its memory within the limit specified using a
command-line option (currently it's 512Mb). This means that [1] memory
consumption will *never*, *ever*, exceed 512Mb, [2] the memory
consumption must be monitored using Java tools and not system tools.

Menu item "Help|About" performs a garbage collection and then reports
simple memory statistics. If you do that several times after closing all
documents, you'll see that memory consumption will go down (at the Java
level, not at the OS level).

JConsole, part of the JDK, can be used to connect to a running Java 1.6+
application and monitor many application parameters, among them the
memory consumption.



> 
> I noticed this only because I’m trying to reproduce a reported problem
> with XXE crashing when editing a document having many small png icons
> (~1Kb). I haven’t reproduced the problem, btw.
> 

There are two, very different, kinds of crashes:

* Java crashes: XXE window disappears. In such case, it creates a log
file containing information about the JVM. There is nothing you or we
can do in such case.

Such crashes are generally caused by a bad graphics card driver. A
possible workaround is to specify

-Dsun.java2d.d3d=false

on the XXE command-line (xxe.bat or xxe.jstart).

* XXE crashes: XXE window does not disappear. A stack trace is printed
on the console. You need to tell us how to reproduce the bug and/or send
us what has been printed on the console.

More information in this FAQ:
http://www.xmlmind.com/xmleditor/faq.html#display_exception_in_console


 
--
XMLmind XML Editor Support List
[email protected]
http://www.xmlmind.com/mailman/listinfo/xmleditor-support

Reply via email to