Try to call System.gc() and finalize unused objects.
Hi there,
i have a question about OutOfMemory Error.
In my application when I toggle between two windows the JVM is always allocating new memory til it reaches about 64 MB. After that it doesn't rise anymore. When opening other windows in the application, the memory will stay at about the same level. but then the whole application is very slow and after a while I will get the OutOfMemory Error. Sometimes earlier, sometimes later. Any ideas about maybe garbage collection or finalization???
any help appreciated.
Lars