6 Replies Latest reply: Aug 15, 2007 8:00 PM by 807557 RSS

    realtime data

    807557
      why does Java memory cache cannot be expanded to avoid runing out of memory during streaming of market data beyond its alloted maximum run time?
      thanks
      par1
        • 1. Re: realtime data
          807557
          Sorry I don't understand what you are referring to. Are you talking about the Java heap?
          • 2. Re: realtime data
            807557
            The Java run time memory
            • 3. Re: realtime data
              807557
              Yes the memory heap which i think can be set at JRE runtime setting at Java Control Panel. I have alloted 1GB for the Xmx but the free memory expires after about 1/2 hour of data streaming and a lockup occurs. How can you release this limited free memory parameter? The Control Panel does not have a Help menue to adjust any of the settings to fit the suitable memory requirement such as the Xms or Xmx.
              I would like to have a conitinuous streaming of Market data without running out of free memory.
              Many thanks for your help.
              • 4. Re: realtime data
                807557
                Is Java limited in running streaming market data?.
                I have Java 6 for my Vista PC and a Xms216m-Xmx1GB for Java Runtime setting .
                It seems that the free memory posted on Java console view when
                logging shows 55,668k. Free: 25,737k(46%).
                I am assuming the free memory shows the memory left after logging to stream data.
                To dump thru G, i get more free memory for a certain period of time before it starts depleting to (0%) then everyting freezes.
                Why can't i have the memory or the heap stay active more than 1/2 hour of Market data streaming?
                Is there anyway out of this limitation to avoid constantly retarting the PC to refresh the run time memory? Is Java that limited for running Market data streaming?
                I am not sure why my broker relies on Java for he main Market trading web sit if it is so limited.
                Any help is appreciated.
                • 5. Re: realtime data
                  807557
                  This forum is watched by the Sun Java Real-Time System team (an implementation of JSR-01 aka RTSJ). Please see
                  http://java.sun.com/javase/technologies/realtime/index.jsp
                  If your question does not concern either the RTSJ or Java RTS then please redirect it to another forum.
                  If your application does have need for a real-time JVM, as it might seem so, then perhaps you should download our product and try it.
                  See
                  http://java.sun.com/javase/technologies/realtime/rts/
                  to download a 90-day evaluation copy.

                  Greg
                  • 6. Re: realtime data
                    807557
                    It sounds like you have a general issue with memory configuration in the JVM which is not appropriate for this forum. Try "Hotspot internals": http://forum.java.sun.com/forum.jspa?forumID=546

                    I'd also suggest first checking out the Trouble-shooting Guide and the GC Tuning guide for Java 6:

                    http://java.sun.com/javase/6/webnotes/trouble/index.html

                    http://java.sun.com/javase/technologies/hotspot/gc/gc_tuning_6.html