[an error occurred while processing this directive] [an error occurred while processing this directive][an error occurred while processing this directive] [an error occurred while processing this directive] [an error occurred while processing this directive] [an error occurred while processing this directive] (none) [an error occurred while processing this directive] [an error occurred while processing this directive] [an error occurred while processing this directive] [an error occurred while processing this directive] [an error occurred while processing this directive][an error occurred while processing this directive] [an error occurred while processing this directive][an error occurred while processing this directive] [an error occurred while processing this directive][an error occurred while processing this directive] [an error occurred while processing this directive] [an error occurred while processing this directive] [an error occurred while processing this directive] (none) [an error occurred while processing this directive] [an error occurred while processing this directive] [an error occurred while processing this directive][an error occurred while processing this directive]
 
[an error occurred while processing this directive] [an error occurred while processing this directive]
Skåne Sjælland Linux User Group - http://www.sslug.dk Home   Subscribe   Mail Archive   Forum   Calendar   Search
MhonArc Date: [Date Prev] [Date Index] [Date Next]   Thread: [Date Prev] [Thread Index] [Date Next]   MhonArc
 

Java memory leak



Hej

Jeg har et problem med en server, skrevet i Java, som en gang imellem dør med følgende fejl:

Exception in thread "main" java.lang.OutOfMemoryError: Java heap space

Det er ikke noget, som bliver bygget op over tid, for 99% af tiden bruger den ikke mere end 12MB hukommelse, så jeg tror, at der er et loop et eller andet sted, som kan gå hen og blive uendeligt, og som allokerer plads.
Problemet er bare at serveren indeholder over 30.000 linjer kode, og jeg har ingen anelse om, hvor det sker, men det er ikke dér, hvor OutOfMemoryError fejlen opstår.
Kan I anbefale en god profiler eller andet, som kan hjælpe med at holde styr på allokeringen af hukommelse ? Gerne med referencer til koden, hvor det sker.


Venlig hilsen
Robert


 
Home   Subscribe   Mail Archive   Index   Calendar   Search

 
 
Questions about the web-pages to <www_admin>. Last modified 2006-06-01, 02:01 CEST [an error occurred while processing this directive]
This page is maintained by [an error occurred while processing this directive]MHonArc [an error occurred while processing this directive] # [an error occurred while processing this directive] *