2 Replies Latest reply on Feb 23, 2006 2:41 AM by Jagadeesh Reddy

    OutofMemory Problem

    Jagadeesh Reddy Newbie

      Hi,

      We developed one application using Macromedia Flex,Spring,Hiberante and Oracle.

      Flex<->Spring<->Hibenramte->Oracle

      When we deploy war file in JBoss AS(JBoss 4.0.1sp1) ,the application performance is very low and its giving "OutofMemory" Error in server console.

      My application war file size is 34MB.

      any help is greatly appreciate.

      Regards,
      Jagadeesh

        • 1. Re: OutofMemory Problem
          Mark Gowdy Newbie

          Hi Jagadeesh

          The size of the war file will have very little impact on you receiving the OutOfMemoryException. Typically, this can be caused by either your application creating Objects on the Heap where a reference is retained to the Object (memory leak) or through resource contention.

          What size of Heap do you have set? How much physical memory is available? What is the size of the various generations and the permanent space? You also want to address questions like: what Objects are being allocated in my application? which ones are surviving garbage collections?

          To answer the latter, you should use some kind of memory profiling tool to find these "loitering objects" and remove the references. You will also want to examine the various JVM settings you have set and have available to you.

          Hope this helps

          Mark

          • 2. Re: OutofMemory Problem
            Jagadeesh Reddy Newbie

            Hi Mark,

            Thanks for ur help.

            Physical memory available is 203MB

            I set Heap Size is 508MB.

            Can you give idea about session is that we have to call clear() or close() methods or both..it effect on performance of application.

            Please let me know about memory profiling tool ,which tool is good.

            Any idea..


            regards,
            Jagadeesh