1 Reply Latest reply on Apr 14, 2003 4:08 AM by joelvogt

    Out of Memory

    vjboss

      Hi All!

      I am new to Jboss I did simple Jboss " interest " example and deployed jar file on the server with out any problem. Then I compiled client program successfully and tryed to run it I was getting below error message javax.naming.NoInitialContextException: Cannot instantiate class: org.jnp.interf
      aces.NamingContextFactory [Root exception is java.lang.ClassNotFoundException: o
      rg.jnp.interfaces.NamingContextFactory]

      Then I modified client program and when I trying to compile I am getting message saying System is out of resources "Out Of Memory Error".

      I tryed to increase the VM size by giving java -xms[] -Xmx[] it throws me in valid initial size irrespective of the given value.

      You help is appreciated.

      Thanks
      Tom

        • 1. Re: Out of Memory
          joelvogt

          well the 'interest' example is well documented here with lots of posts helping out the common problems. Make sure you don't have any phantom java threads laying around, and always try a computer restart