Hi Biljana,

There seems to be a problem related to memory inside JVM.
You need to check what makes the Heap Space full. May be its your Java Code
that is just filling the Heap area or it may be the case that your RAM is
very low.

Try increasing the Java Heap Max and Min values in your java options:

       java -Xms32m -Xmx128m

Thanks
Nirmal



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
>
>
> >
>


-- 
                \\\///
              /         \
              | \\   // |
            ( | (.) (.) |)
----------o00o--(_)--o00o-----------------
Stand up,be bold,be strong.
Take the whole responsibility on
ur own shoulders and know that
U are the creator of ur own destiny.
------ooo0-------------------------------
    (   )     0ooo
     \ (      (   )
      \_)      ) /
              (_/

--~--~---------~--~----~------------~-------~--~----~
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
-~----------~----~----~----~------~----~------~--~---

Reply via email to