Hi,

I could narrow the window into r3723-r3732

r3723-CORE - works OK, memory consumption goes down after deleting the layer.
r3727-CORE - does not open the test jml file - I think it reads is totally but 
at the end throws
java.lang.IllegalArgumentException: Tunnistamaton ominaisuustiedon nimi: 
IMG.FACTORY
        at 
com.vividsolutions.jump.feature.FeatureSchema.getAttributeIndex(FeatureSchema.java:97)
        at 
com.vividsolutions.jump.feature.AbstractBasicFeature.getAttribute(AbstractBasicFeature.java:103)
        at 
org.openjump.core.ui.io.file.DataSourceFileLayerLoader.open(DataSourceFileLayerLoader.java:121)
        at 
org.openjump.core.ui.plugin.file.open.OpenFileWizard.run(OpenFileWizard.java:157)
        at 
org.openjump.core.ui.plugin.file.OpenWizardPlugIn.run(OpenWizardPlugIn.java:104)
        at 
com.vividsolutions.jump.workbench.ui.task.TaskMonitorManager$TaskWrapper.run(TaskMonitorManager.java:152)
        at java.lang.Thread.run(Unknown Source)

r3732-PLUS - OJ reserved memory stays in 3 GB after deleting the layer and 
doing carbage collect.

Is this enough for an evidence that something evil happened between r3723 and 
r3732?

It is nice to have snapshot builds available. It would be even more nice if we 
had also some tests to verify if the builds are good and that they really start 
with 32-bit and 64-bit jre. Now there are a few revisions around r3730 which do 
not start at all, at least if the version is CORE and jre is 64-bit. 

-Jukka Rahkonen-


Michael Michaud wrote:

> Aihe: Re: [JPP-Devel] OpenJUMP does not free memory after removing a big
> layer
> 
> Hi,
> 
> Thanks Jukka, seems like a regression.
> It happened between 3673 and 3732.
> @Ede, I could not investigate too much, because I'm no more connected to the
> web at home, but I noticed one commit with many changes about Layer,
> LayerManager and a new interface Disposable (revision 3724). I think the
> regression could be related to this commit,
> 
> Michaël
> 
> > Hi Jukka,
> >
> > That's strange, I often checked that memory is released, but there
> > maybe some cases where it is retained somewhere.
> > I'll check more with jml files.
> > I think a plugin may hold a reference to a layer and retain its
> > content in memory. In this case, it would be very useful to identify
> > the plugin. Will do some tests in this direction.
> >
> > Michaël
> >
> > > Hi,
> > >
> > > Tested with:
> > >
> > > - OpenJUMP Plus r.3803
> > > - Windows 7 64-bit
> > > - jre 1.7_07 64-bit
> > > - polygon dataset with 1.1 million features, size 3.2 GB in JML format.
> > >
> > > See what happen with the memory consumption when I start OpenJUMP
> > > and open the polygon dataset into an empty project:
> > >
> > > After loading the dataset:
> > > - Windows shows that Java consumes 5.7 GB of memory
> > > - OJ shows that the amount of reserved memory is 3.7 GB
> > >
> > > After deleting the layer from TOC and doing Carbage Collect so that
> > > there
> > are
> > > no layers left in the project:
> > > - Windows shows that Java consumes 6.1 GB of memory
> > > - OJ shows that the amount of reserved memory is 5.0 GB
> > >
> > > Memory consumption numbers seem to be true because my computer with
> > > totally
> > 8
> > > GB of memory gets rather slow. Carbage Collect does not decrease the
> > numbers
> > > at all and I did not find any other way for freeing the memory that
> > shutting
> > > down OJ.
> > >
> > > -Jukka Rahkonen-
> > >
> > >
> > ----------------------------------------------------------------------
> > --------
> > > Rapidly troubleshoot problems before they affect your business. Most
> > > IT organizations don't have a clear picture of how application
> > > performance affects their revenue. With AppDynamics, you get 100%
> > > visibility into your Java,.NET, & PHP application. Start your 15-day
> > > FREE TRIAL of AppDynamics Pro!
> > > http://pubads.g.doubleclick.net/gampad/clk?id=84349351&iu=/4140/ostg
> > > .clktrk _______________________________________________
> > > Jump-pilot-devel mailing list
> > > Jump-pilot-devel@lists.sourceforge.net
> > > https://lists.sourceforge.net/lists/listinfo/jump-pilot-devel
> > >
> >
> >
> >
> > ----------------------------------------------------------------------
> > -------- Rapidly troubleshoot problems before they affect your
> > business. Most IT organizations don't have a clear picture of how
> > application performance affects their revenue. With AppDynamics, you
> > get 100% visibility into your Java,.NET, & PHP application. Start your
> > 15-day FREE TRIAL of AppDynamics Pro!
> > http://pubads.g.doubleclick.net/gampad/clk?id=84349351&iu=/4140/ostg.c
> > lktrk _______________________________________________
> > Jump-pilot-devel mailing list
> > Jump-pilot-devel@lists.sourceforge.net
> > https://lists.sourceforge.net/lists/listinfo/jump-pilot-devel
> >
> 


------------------------------------------------------------------------------
Sponsored by Intel(R) XDK 
Develop, test and display web and hybrid apps with a single code base.
Download it for free now!
http://pubads.g.doubleclick.net/gampad/clk?id=111408631&iu=/4140/ostg.clktrk
_______________________________________________
Jump-pilot-devel mailing list
Jump-pilot-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/jump-pilot-devel

Reply via email to