[mapguide-users] Re: Mapguide JavaAjaxViewer Update Features Memory Leak?

Zac Spitzer zac.spitzer at gmail.com
Tue Dec 14 19:00:43 EST 2010

quick q, are you calling close() on the featurereader?

On Wed, Dec 15, 2010 at 3:26 AM, jjdoc <jjdoc at mailcity.com> wrote:
> thanks, ar_gaeta. I will try your code and and let you know if it helps.
> Regarding your question:
> 1. getPropertyCount() returns # of properties in a feature. I don't know of
> a method that returns the number of features. But once you have a
> featurereader, you can just iterate through it and count the total number
> yourself.
> 2. For insert, I think you just need to create the feature, and use
> InsertFeature functions instead of Update. I'll need to do something like
> that too, after I have this memory leak problem solved. I'll share the code
> if I can get it to work.
> --
> View this message in context: http://osgeo-org.1803224.n2.nabble.com/Mapguide-JavaAjaxViewer-Update-Features-Memory-Leak-tp5833542p5834462.html
> Sent from the MapGuide Users mailing list archive at Nabble.com.
> _______________________________________________
> mapguide-users mailing list
> mapguide-users at lists.osgeo.org
> http://lists.osgeo.org/mailman/listinfo/mapguide-users

Zac Spitzer
Solution Architect / Director
Ennoble Consultancy Australia
+61 405 847 168

More information about the mapguide-users mailing list