Christian K?hrt wrote:
> Is the problem with unfreed memory solved in v3? 

No. Yesterday we have tried to implement the following behavior: when
all documents are closed, keep no reference to the closed documents.

This didn't work.

After doing this massive clean-up (which failed), we have used
AppPerfect to find what are the objects referencing closed documents and
we didn't find them. (We didn't try long enough and we are not used to
this tool.)


> when v3 will be roll out?

In a few days.



> Large images ... or a lot of images. my problem are a lot of images... I
> alreay scaled down the size.

Why don't you test XXE with real documents and real memory settings? You
have just proved that XXE can't work with 64Mb of JVM memory and a
DocBook document containing four 1Mb compressed JPEG files (==> ~35Mb
needed just to display the 4 images.)



>>Why do I say that? Because after getting the message "Out of memory"
>>displayed in the document view in red near the ``broken image'' icon,
>>using Select|Redraw caused all the images to be properly displayed
>>again. And after that, Help|About reported that there were still plenty
>>of memory available.
>>  
> I cant reproduce  the behavior after making a Redraw.

Don't understand why.



> If I use the xxe.jar as framework to integrate it in my application - is
> there a workaround to free the memory  after closing a document in a
> programming way? 

Probably no. We have tried to do precisely that yesterday, and it didn't
work. It will probably take months to improve this situation.

However, it is simple to check this, open your test document in the XML
Editor called StyledEditor, used as a programming example in the
Developer's Guide:
http://www.xmlmind.com/xmleditor/_distrib/doc/dev/ar01s03.html



> Exactly it means: free memory = loose all references to
> all the old and unused image data. the result of my inspection with
> jprobe was that the (old and unused) StyledView object is still
> referenced by some other objects and so the garbage collector cant free it..

Which other objects? If JProbe has a report generation facility (like
AppExpert has), do not hesitate to send me a report.


Reply via email to