This Bugzilla instance is a read-only archive of historic NetBeans bug reports. To report a bug in NetBeans please follow the project's instructions for reporting issues.
forcing garbage collection does not return to the previous state. During such search the memory at the beginning stays at the initial level, but after a while suddenly it grows for example from 60MB to 95MB. After such search, most of the times I have to restart netbeans to regain the memory. Now I prefer not to use the search whenever I can avoid it. I have found the way to increase the memory allocation (ide.cfg), so there is some type of workaround for that.
This problem is described in issue #19484 ("OOME when performing search on larger FS"). The problem has been much reduced in NetBeans 4.0 (not released yet). *** This issue has been marked as a duplicate of 19484 ***