Skip to main content

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index] [List Home]
[udig-devel] Memory Usage problems (OutOfMemory Exceptions)

Hi everyone,

In the project I'm working on, we are using up to 10 open editors with each of them containing around 10-12 layers.
This uses a lot of memory for the renderers buffers and provokes OutOfMemory Exceptions.

We have raised the max heap size on our dev machines, but the customer has more limited machines and so I must
try to lower the memory requirements. 

As most of the layers are "static" shape files, one idea is to "merge" shapefiles together so as to reduce the numbers of layers.

Another idea is to tinkle with the udig renderers. Actually, only 2-3 editors are visible at the same time and users switch between
them infrequently. it would be nice to allow single renderers to loose their internal awt.BufferedImage when their editor is hidden
and to force the rendering when their editor become visible again.

But before I try to do such things, I would to ask you for advice of what would be the best approach to limit the memory usage.

Thanks for your help.
Stan.

Back to the top