Re: [mapguide-users] Memory Leak in Java

2019-12-18 Thread Jackie Ng
I've just downloaded your test code and I'll take a look sometime over the xmas/NY break. Just to clarify: Is the included .net version leaking as well? Or is it just a reference point for what you're trying to achieve in Java? - Jackie -- Sent from: http://osgeo-org.1560.x6.nabble.com/MapGuid

Re: [mapguide-users] Memory Leak in Java

2019-12-18 Thread Benoit Begin
Hi, I'm no Java expert, but I feel it could be a similar issue that you may face with .NET and Large Heap Objects. With the size of the byte array you are creating, 1024x1024, you might be overruning the size of the level 1 generation for the Garbage Collector and end up putting your data in a lat

[mapguide-users] Memory Leak in Java

2019-12-18 Thread Riccardo Pucci
Hi I'm facing a huge memory leak in ResourceService.GetContentData using Java API. .Net API works well but I need it in Java :) I've written a small test case that can be run on any Mapguide Server since it use just Session Repository. Below the link to the test source code. https://drive.google.

Re: [mapguide-users] SqlServerProvider migrating to OSGeo.SQLServerSpatial error

2019-12-18 Thread Jackie Ng
Oh dear! You probably won't like what I am about to say. You can't just point to the old db created/managed by the Autodesk.SqlServer provider to use OSGeo.SQLServerSpatial provider instead. The structure of the database schema/tables created by this provider and the custom geometry storage format