Sometimes in big project that consist hundred or thousand classes this problem appear. It is class loader that requires more memory. In my opinion, increasing memory heap would not solve this, it would appear again later. my suggestion do proper profiling.
or if you netbeans and enable Deploy on Save in project properties, this problem may appear. disable Deploy on Save option if your project consist of huge number of classes. > On Tue, May 26, 2009 at 11:03 PM, Biljana Biljana > <biljana_b...@yahoo.com>wrote: > When I run one written by my self Hibernate projekt, written in all > rules, this message occured: > > > The system is out of resources. > > Consult the following stack trace for details. > > java.lang.OutOfMemoryError: Java heap space > > BUILD FAILED (total time: 46 seconds) > > This occured too when I run one program before. But when I closed NetBean > > IDE, started it and run project again it worke properly.What is the problem, > > may be because I run one Hibernate project before, but that run with > > success. What to do? > > > Regards, > > Biljana --~--~---------~--~----~------------~-------~--~----~ You received this message because you are subscribed to the Google Groups "Java EE (J2EE) Programming with Passion!" group. To post to this group, send email to java-ee-j2ee-programming-with-passion@googlegroups.com To unsubscribe from this group, send email to java-ee-j2ee-programming-with-passion+unsubscr...@googlegroups.com For more options, visit this group at http://groups.google.com/group/java-ee-j2ee-programming-with-passion?hl=en -~----------~----~----~----~------~----~------~--~---