|
From: <no...@so...> - 2001-12-03 13:44:23
|
Support Requests item #476009, was opened at 2001-10-29 06:42 You can respond by visiting: http://sourceforge.net/tracker/?func=detail&atid=204091&aid=476009&group_id=4091 Category: None Group: None Status: Open Resolution: None Priority: 5 Submitted By: Joachim Bröckl (saltag) Assigned to: Nobody/Anonymous (nobody) Summary: Memory Consumption Initial Comment: Hi, I have a .shp-file of 4.2 megabyte. Reading it with sf = ShapefileReader(myURL) consumes 17.5 megabyte of RAM, creating a layer object with sf.getLayer() dissipates another 32 MBytes. Adding a couple of other layers from other shape-files to my map soonly raises a OutOfMemoryException. Is there a way to reduce the memory consumption when creating layers? Thanks Joachim ---------------------------------------------------------------------- >Comment By: Joachim Bröckl (saltag) Date: 2001-12-03 05:44 Message: Logged In: YES user_id=362103 I downloaded the latest nightly build today and tested it with my huge shapefile. Unfortunately I could not see any significant changes in memory consumption; the java-process now displays 45828 KBytes instead of 46844 KBytes of consumed memory in the task manager (I probably should look for that JProbe instead?!). Nevertheless thanks for your efforts. Joachim ---------------------------------------------------------------------- Comment By: James Macgill (jmacgill) Date: 2001-11-30 05:32 Message: Logged In: YES user_id=9731 I have just been testing JProbe, a profiling tool which allows me to analyse where most of the memmory is going. I've knocked out about 16% of typical memory usage by changing the devenition of GeoPoints. This has helped quite a bit, but I can still see a lot of other areas that might help reduce the load further. Could you grab the latest nightly build from http://www.geotools.org/dload.php and let me know if you notice any significant difference? James ---------------------------------------------------------------------- You can respond by visiting: http://sourceforge.net/tracker/?func=detail&atid=204091&aid=476009&group_id=4091 |
|
From: <no...@so...> - 2001-12-03 13:57:40
|
Support Requests item #476009, was opened at 2001-10-29 06:42 You can respond by visiting: http://sourceforge.net/tracker/?func=detail&atid=204091&aid=476009&group_id=4091 Category: None Group: None Status: Open Resolution: None Priority: 5 Submitted By: Joachim Bröckl (saltag) Assigned to: Nobody/Anonymous (nobody) Summary: Memory Consumption Initial Comment: Hi, I have a .shp-file of 4.2 megabyte. Reading it with sf = ShapefileReader(myURL) consumes 17.5 megabyte of RAM, creating a layer object with sf.getLayer() dissipates another 32 MBytes. Adding a couple of other layers from other shape-files to my map soonly raises a OutOfMemoryException. Is there a way to reduce the memory consumption when creating layers? Thanks Joachim ---------------------------------------------------------------------- Comment By: Nobody/Anonymous (nobody) Date: 2001-12-03 05:57 Message: Logged In: NO Did you try nullifying the shapefileReader object after calling sf.getLayer() ? You shouldn't need the reader anymore at that point, if I recall correctly ---------------------------------------------------------------------- Comment By: Joachim Bröckl (saltag) Date: 2001-12-03 05:44 Message: Logged In: YES user_id=362103 I downloaded the latest nightly build today and tested it with my huge shapefile. Unfortunately I could not see any significant changes in memory consumption; the java-process now displays 45828 KBytes instead of 46844 KBytes of consumed memory in the task manager (I probably should look for that JProbe instead?!). Nevertheless thanks for your efforts. Joachim ---------------------------------------------------------------------- Comment By: James Macgill (jmacgill) Date: 2001-11-30 05:32 Message: Logged In: YES user_id=9731 I have just been testing JProbe, a profiling tool which allows me to analyse where most of the memmory is going. I've knocked out about 16% of typical memory usage by changing the devenition of GeoPoints. This has helped quite a bit, but I can still see a lot of other areas that might help reduce the load further. Could you grab the latest nightly build from http://www.geotools.org/dload.php and let me know if you notice any significant difference? James ---------------------------------------------------------------------- You can respond by visiting: http://sourceforge.net/tracker/?func=detail&atid=204091&aid=476009&group_id=4091 |
|
From: <no...@so...> - 2001-12-03 15:10:24
|
Support Requests item #476009, was opened at 2001-10-29 06:42 You can respond by visiting: http://sourceforge.net/tracker/?func=detail&atid=204091&aid=476009&group_id=4091 Category: None Group: None Status: Open Resolution: None Priority: 5 Submitted By: Joachim Bröckl (saltag) Assigned to: Nobody/Anonymous (nobody) Summary: Memory Consumption Initial Comment: Hi, I have a .shp-file of 4.2 megabyte. Reading it with sf = ShapefileReader(myURL) consumes 17.5 megabyte of RAM, creating a layer object with sf.getLayer() dissipates another 32 MBytes. Adding a couple of other layers from other shape-files to my map soonly raises a OutOfMemoryException. Is there a way to reduce the memory consumption when creating layers? Thanks Joachim ---------------------------------------------------------------------- >Comment By: James Macgill (jmacgill) Date: 2001-12-03 07:10 Message: Logged In: YES user_id=9731 Sorry, I made the changes to GeoPoint localy, and completly failed to commit them into the main repository. So it's little wonder you saw no difference. Could you try again please? btw, the sugestion to nullify your shapefileReader is a good one, and should free up a bit of memmory. James ---------------------------------------------------------------------- Comment By: Nobody/Anonymous (nobody) Date: 2001-12-03 05:57 Message: Logged In: NO Did you try nullifying the shapefileReader object after calling sf.getLayer() ? You shouldn't need the reader anymore at that point, if I recall correctly ---------------------------------------------------------------------- Comment By: Joachim Bröckl (saltag) Date: 2001-12-03 05:44 Message: Logged In: YES user_id=362103 I downloaded the latest nightly build today and tested it with my huge shapefile. Unfortunately I could not see any significant changes in memory consumption; the java-process now displays 45828 KBytes instead of 46844 KBytes of consumed memory in the task manager (I probably should look for that JProbe instead?!). Nevertheless thanks for your efforts. Joachim ---------------------------------------------------------------------- Comment By: James Macgill (jmacgill) Date: 2001-11-30 05:32 Message: Logged In: YES user_id=9731 I have just been testing JProbe, a profiling tool which allows me to analyse where most of the memmory is going. I've knocked out about 16% of typical memory usage by changing the devenition of GeoPoints. This has helped quite a bit, but I can still see a lot of other areas that might help reduce the load further. Could you grab the latest nightly build from http://www.geotools.org/dload.php and let me know if you notice any significant difference? James ---------------------------------------------------------------------- You can respond by visiting: http://sourceforge.net/tracker/?func=detail&atid=204091&aid=476009&group_id=4091 |
|
From: <no...@so...> - 2001-12-03 15:10:46
|
Support Requests item #476009, was opened at 2001-10-29 06:42 You can respond by visiting: http://sourceforge.net/tracker/?func=detail&atid=204091&aid=476009&group_id=4091 Category: None Group: None Status: Open Resolution: None Priority: 5 Submitted By: Joachim Bröckl (saltag) Assigned to: Nobody/Anonymous (nobody) Summary: Memory Consumption Initial Comment: Hi, I have a .shp-file of 4.2 megabyte. Reading it with sf = ShapefileReader(myURL) consumes 17.5 megabyte of RAM, creating a layer object with sf.getLayer() dissipates another 32 MBytes. Adding a couple of other layers from other shape-files to my map soonly raises a OutOfMemoryException. Is there a way to reduce the memory consumption when creating layers? Thanks Joachim ---------------------------------------------------------------------- >Comment By: James Macgill (jmacgill) Date: 2001-12-03 07:10 Message: Logged In: YES user_id=9731 Sorry, I made the changes to GeoPoint localy, and completly failed to commit them into the main repository. So it's little wonder you saw no difference. Could you try again please? btw, the sugestion to nullify your shapefileReader is a good one, and should free up a bit of memmory. James ---------------------------------------------------------------------- Comment By: James Macgill (jmacgill) Date: 2001-12-03 07:10 Message: Logged In: YES user_id=9731 Sorry, I made the changes to GeoPoint localy, and completly failed to commit them into the main repository. So it's little wonder you saw no difference. Could you try again please? btw, the sugestion to nullify your shapefileReader is a good one, and should free up a bit of memmory. James ---------------------------------------------------------------------- Comment By: Nobody/Anonymous (nobody) Date: 2001-12-03 05:57 Message: Logged In: NO Did you try nullifying the shapefileReader object after calling sf.getLayer() ? You shouldn't need the reader anymore at that point, if I recall correctly ---------------------------------------------------------------------- Comment By: Joachim Bröckl (saltag) Date: 2001-12-03 05:44 Message: Logged In: YES user_id=362103 I downloaded the latest nightly build today and tested it with my huge shapefile. Unfortunately I could not see any significant changes in memory consumption; the java-process now displays 45828 KBytes instead of 46844 KBytes of consumed memory in the task manager (I probably should look for that JProbe instead?!). Nevertheless thanks for your efforts. Joachim ---------------------------------------------------------------------- Comment By: James Macgill (jmacgill) Date: 2001-11-30 05:32 Message: Logged In: YES user_id=9731 I have just been testing JProbe, a profiling tool which allows me to analyse where most of the memmory is going. I've knocked out about 16% of typical memory usage by changing the devenition of GeoPoints. This has helped quite a bit, but I can still see a lot of other areas that might help reduce the load further. Could you grab the latest nightly build from http://www.geotools.org/dload.php and let me know if you notice any significant difference? James ---------------------------------------------------------------------- You can respond by visiting: http://sourceforge.net/tracker/?func=detail&atid=204091&aid=476009&group_id=4091 |
|
From: <no...@so...> - 2001-12-04 08:27:25
|
Support Requests item #476009, was opened at 2001-10-29 06:42 You can respond by visiting: http://sourceforge.net/tracker/?func=detail&atid=204091&aid=476009&group_id=4091 Category: None Group: None Status: Open Resolution: None Priority: 5 Submitted By: Joachim Bröckl (saltag) Assigned to: Nobody/Anonymous (nobody) Summary: Memory Consumption Initial Comment: Hi, I have a .shp-file of 4.2 megabyte. Reading it with sf = ShapefileReader(myURL) consumes 17.5 megabyte of RAM, creating a layer object with sf.getLayer() dissipates another 32 MBytes. Adding a couple of other layers from other shape-files to my map soonly raises a OutOfMemoryException. Is there a way to reduce the memory consumption when creating layers? Thanks Joachim ---------------------------------------------------------------------- >Comment By: Joachim Bröckl (saltag) Date: 2001-12-04 00:27 Message: Logged In: YES user_id=362103 Hi James, you made it! Testing with the latest version I noticed a huge difference: with the old version the java process used 14.6 Megs before and 60.7 Megs after loading the map. Now it's 14.6 to just 40.3 Megs when the map is loaded. As my application paints several maps from the same shapefile in different color codings, I keep and reuse the shapeFileReader. Memory stays at it's high level, but it doesnt' increase anymore and I save the time spent reading the shapefile again and again. Joachim ---------------------------------------------------------------------- Comment By: James Macgill (jmacgill) Date: 2001-12-03 07:10 Message: Logged In: YES user_id=9731 Sorry, I made the changes to GeoPoint localy, and completly failed to commit them into the main repository. So it's little wonder you saw no difference. Could you try again please? btw, the sugestion to nullify your shapefileReader is a good one, and should free up a bit of memmory. James ---------------------------------------------------------------------- Comment By: James Macgill (jmacgill) Date: 2001-12-03 07:10 Message: Logged In: YES user_id=9731 Sorry, I made the changes to GeoPoint localy, and completly failed to commit them into the main repository. So it's little wonder you saw no difference. Could you try again please? btw, the sugestion to nullify your shapefileReader is a good one, and should free up a bit of memmory. James ---------------------------------------------------------------------- Comment By: Nobody/Anonymous (nobody) Date: 2001-12-03 05:57 Message: Logged In: NO Did you try nullifying the shapefileReader object after calling sf.getLayer() ? You shouldn't need the reader anymore at that point, if I recall correctly ---------------------------------------------------------------------- Comment By: Joachim Bröckl (saltag) Date: 2001-12-03 05:44 Message: Logged In: YES user_id=362103 I downloaded the latest nightly build today and tested it with my huge shapefile. Unfortunately I could not see any significant changes in memory consumption; the java-process now displays 45828 KBytes instead of 46844 KBytes of consumed memory in the task manager (I probably should look for that JProbe instead?!). Nevertheless thanks for your efforts. Joachim ---------------------------------------------------------------------- Comment By: James Macgill (jmacgill) Date: 2001-11-30 05:32 Message: Logged In: YES user_id=9731 I have just been testing JProbe, a profiling tool which allows me to analyse where most of the memmory is going. I've knocked out about 16% of typical memory usage by changing the devenition of GeoPoints. This has helped quite a bit, but I can still see a lot of other areas that might help reduce the load further. Could you grab the latest nightly build from http://www.geotools.org/dload.php and let me know if you notice any significant difference? James ---------------------------------------------------------------------- You can respond by visiting: http://sourceforge.net/tracker/?func=detail&atid=204091&aid=476009&group_id=4091 |
|
From: <no...@so...> - 2001-12-22 15:52:36
|
Support Requests item #476009, was opened at 2001-10-29 06:42 You can respond by visiting: http://sourceforge.net/tracker/?func=detail&atid=204091&aid=476009&group_id=4091 Category: None Group: None >Status: Closed >Resolution: Fixed Priority: 5 Submitted By: Joachim Bröckl (saltag) Assigned to: Nobody/Anonymous (nobody) Summary: Memory Consumption Initial Comment: Hi, I have a .shp-file of 4.2 megabyte. Reading it with sf = ShapefileReader(myURL) consumes 17.5 megabyte of RAM, creating a layer object with sf.getLayer() dissipates another 32 MBytes. Adding a couple of other layers from other shape-files to my map soonly raises a OutOfMemoryException. Is there a way to reduce the memory consumption when creating layers? Thanks Joachim ---------------------------------------------------------------------- Comment By: Joachim Bröckl (saltag) Date: 2001-12-04 00:27 Message: Logged In: YES user_id=362103 Hi James, you made it! Testing with the latest version I noticed a huge difference: with the old version the java process used 14.6 Megs before and 60.7 Megs after loading the map. Now it's 14.6 to just 40.3 Megs when the map is loaded. As my application paints several maps from the same shapefile in different color codings, I keep and reuse the shapeFileReader. Memory stays at it's high level, but it doesnt' increase anymore and I save the time spent reading the shapefile again and again. Joachim ---------------------------------------------------------------------- Comment By: James Macgill (jmacgill) Date: 2001-12-03 07:10 Message: Logged In: YES user_id=9731 Sorry, I made the changes to GeoPoint localy, and completly failed to commit them into the main repository. So it's little wonder you saw no difference. Could you try again please? btw, the sugestion to nullify your shapefileReader is a good one, and should free up a bit of memmory. James ---------------------------------------------------------------------- Comment By: James Macgill (jmacgill) Date: 2001-12-03 07:10 Message: Logged In: YES user_id=9731 Sorry, I made the changes to GeoPoint localy, and completly failed to commit them into the main repository. So it's little wonder you saw no difference. Could you try again please? btw, the sugestion to nullify your shapefileReader is a good one, and should free up a bit of memmory. James ---------------------------------------------------------------------- Comment By: Nobody/Anonymous (nobody) Date: 2001-12-03 05:57 Message: Logged In: NO Did you try nullifying the shapefileReader object after calling sf.getLayer() ? You shouldn't need the reader anymore at that point, if I recall correctly ---------------------------------------------------------------------- Comment By: Joachim Bröckl (saltag) Date: 2001-12-03 05:44 Message: Logged In: YES user_id=362103 I downloaded the latest nightly build today and tested it with my huge shapefile. Unfortunately I could not see any significant changes in memory consumption; the java-process now displays 45828 KBytes instead of 46844 KBytes of consumed memory in the task manager (I probably should look for that JProbe instead?!). Nevertheless thanks for your efforts. Joachim ---------------------------------------------------------------------- Comment By: James Macgill (jmacgill) Date: 2001-11-30 05:32 Message: Logged In: YES user_id=9731 I have just been testing JProbe, a profiling tool which allows me to analyse where most of the memmory is going. I've knocked out about 16% of typical memory usage by changing the devenition of GeoPoints. This has helped quite a bit, but I can still see a lot of other areas that might help reduce the load further. Could you grab the latest nightly build from http://www.geotools.org/dload.php and let me know if you notice any significant difference? James ---------------------------------------------------------------------- You can respond by visiting: http://sourceforge.net/tracker/?func=detail&atid=204091&aid=476009&group_id=4091 |
|
From: <no...@so...> - 2001-12-22 15:53:49
|
Support Requests item #476009, was opened at 2001-10-29 06:42 You can respond by visiting: http://sourceforge.net/tracker/?func=detail&atid=204091&aid=476009&group_id=4091 Category: None Group: None Status: Closed Resolution: Fixed Priority: 5 Submitted By: Joachim Bröckl (saltag) Assigned to: Nobody/Anonymous (nobody) Summary: Memory Consumption Initial Comment: Hi, I have a .shp-file of 4.2 megabyte. Reading it with sf = ShapefileReader(myURL) consumes 17.5 megabyte of RAM, creating a layer object with sf.getLayer() dissipates another 32 MBytes. Adding a couple of other layers from other shape-files to my map soonly raises a OutOfMemoryException. Is there a way to reduce the memory consumption when creating layers? Thanks Joachim ---------------------------------------------------------------------- Comment By: Joachim Bröckl (saltag) Date: 2001-12-04 00:27 Message: Logged In: YES user_id=362103 Hi James, you made it! Testing with the latest version I noticed a huge difference: with the old version the java process used 14.6 Megs before and 60.7 Megs after loading the map. Now it's 14.6 to just 40.3 Megs when the map is loaded. As my application paints several maps from the same shapefile in different color codings, I keep and reuse the shapeFileReader. Memory stays at it's high level, but it doesnt' increase anymore and I save the time spent reading the shapefile again and again. Joachim ---------------------------------------------------------------------- Comment By: James Macgill (jmacgill) Date: 2001-12-03 07:10 Message: Logged In: YES user_id=9731 Sorry, I made the changes to GeoPoint localy, and completly failed to commit them into the main repository. So it's little wonder you saw no difference. Could you try again please? btw, the sugestion to nullify your shapefileReader is a good one, and should free up a bit of memmory. James ---------------------------------------------------------------------- Comment By: James Macgill (jmacgill) Date: 2001-12-03 07:10 Message: Logged In: YES user_id=9731 Sorry, I made the changes to GeoPoint localy, and completly failed to commit them into the main repository. So it's little wonder you saw no difference. Could you try again please? btw, the sugestion to nullify your shapefileReader is a good one, and should free up a bit of memmory. James ---------------------------------------------------------------------- Comment By: Nobody/Anonymous (nobody) Date: 2001-12-03 05:57 Message: Logged In: NO Did you try nullifying the shapefileReader object after calling sf.getLayer() ? You shouldn't need the reader anymore at that point, if I recall correctly ---------------------------------------------------------------------- Comment By: Joachim Bröckl (saltag) Date: 2001-12-03 05:44 Message: Logged In: YES user_id=362103 I downloaded the latest nightly build today and tested it with my huge shapefile. Unfortunately I could not see any significant changes in memory consumption; the java-process now displays 45828 KBytes instead of 46844 KBytes of consumed memory in the task manager (I probably should look for that JProbe instead?!). Nevertheless thanks for your efforts. Joachim ---------------------------------------------------------------------- Comment By: James Macgill (jmacgill) Date: 2001-11-30 05:32 Message: Logged In: YES user_id=9731 I have just been testing JProbe, a profiling tool which allows me to analyse where most of the memmory is going. I've knocked out about 16% of typical memory usage by changing the devenition of GeoPoints. This has helped quite a bit, but I can still see a lot of other areas that might help reduce the load further. Could you grab the latest nightly build from http://www.geotools.org/dload.php and let me know if you notice any significant difference? James ---------------------------------------------------------------------- You can respond by visiting: http://sourceforge.net/tracker/?func=detail&atid=204091&aid=476009&group_id=4091 |