Reading the memory size of a machine

Dear all,
I'm writing a java program that can read the size of the memory (RAM) of a machine. Does anyone have an idea as to whether this can be done in Java, and if so, what libraries to use.
Thanks
Regards,

Here's an old thread about the same issue (please search before you post) : http://forum.java.sun.com/thread.jspa?threadID=701152&messageID=4067516 .
PS - ChuckBing also answered that one... Nice :P

Similar Messages

  • How to Increase the memory size of a File in the Application Server

    Hello Abaper's
    I have generated a XML file for the data of  internal table (with 10 Records). When i download , i can see the XML file for the Entire 10 Records.
    But , while transferring the XML file to Applicationserver , it's  transferring only upto max 4 Records.I     assume that the memory is insufficient to  allocate 10  Records. Can we Increase the Memory size of the File on Application server. OR,  is there any error in My Source Code.
    Code i used to Transfer the XML File to Application server.
    OPEN DATASET FNAME FOR OUTPUT IN BINARY MODE.
    IF sy-subrc EQ 0.
       LOOP AT it_xmltab INTO wa_xmltab.
           TRANSFER wa_xmltab TO FNAME.
       ENDLOOP.
    ELSE.
      MESSAGE e004(zmsg5) WITH 'File FNAME not opened'.
    ENDIF.
    CLOSE DATASET FNAME.
    Regards
    Jv

    Hi,
    DATA : filename TYPE rlgrap-filename.
    DATA : doc_name TYPE char30.
    DATA : bin_size TYPE i.
    SELECT matnr matkl meins
           FROM mara INTO TABLE it_mara
           UP TO 10 ROWS.
    CALL FUNCTION 'SAP_CONVERT_TO_XML_FORMAT'
      EXPORTING
        i_filename           = filename
        i_xml_doc_name       = doc_name
      IMPORTING
        pe_bin_filesize      = bin_size
      TABLES
        i_tab_sap_data       = it_mara         "  contains  10 Records
      CHANGING
        i_tab_converted_data = it_xmltab.
    placing XML File in Appl. Server
    DATA : FNAME(60) VALUE 'xyz_File'.
    DATA : num TYPE i.
    DATA : xmldata(256) TYPE x.
      For Writing The data in Application Server
    OPEN DATASET FNAME FOR OUTPUT IN BINARY MODE. " ENCODING DEFAULT.
    IF sy-subrc EQ 0.
      LOOP AT it_xmltab INTO wa_xmltab.
        TRANSFER wa_xmltab TO FNAME.
      ENDLOOP.
    ELSE.
      MESSAGE e004(zmsg5) WITH 'File FNAME not opened'.
    ENDIF.
    CLOSE DATASET FNAME.
      For Reading The data in Application Server
    OPEN DATASET FNAME FOR INPUT IN BINARY MODE. " ENCODING DEFAULT.
    DO.
      IF sy-subrc EQ 0.
        READ DATASET fname INTO xmldata.
        WRITE :/ xmldata.
        Clear xmldata.
      ELSE.
        EXIT.
      ENDIF.
    ENDDO.
    CLOSE DATASET FNAME.
    at runtime i can see   
    it_mara  --> contain 10 records
    it_xmltab --> contain 7 lines (Each line size is 255 char). This table have XML format data,  (unknow format , with all numeric 
                        digits)
    it_xmltab is trasferred to application server , but the xml format is generated upto 4 records, and for the remaining records
    the XML format is not generated.
    the XML data in application server file is
    <?xml version="1.0"?><TY_MARA><TY_MARA><MATNR Datatype="C" Length="36">0-BUY1</MATNR><MATKL Datatype="C" Length="18">012</MATKL><MEINS Datatype="C" Length="6">PC
    </MEINS>
    </TY_MARA><TY_MARA><MATNR Datatype="C" Length="36">0-BUY2</MATNR><MATKL Datatype="C" Length="18">012</MATKL><MEINS Datatype="C" Length="6">
    PC </MEINS>
    </TY_MARA><TY_MARA><MATNR Datatype="C" Length="36">000000000000000001</MATNR><MEINS Datatype="C" Length="6">EA</MEINS>
    </TY_MARA><TY_MARA><MATNR Datatype="C" Length="36">000000000000000002</MATNR
    Regards
    JV

  • What is the memory size in HD 4000 in the new Macbook?

    What is the memory size in HD 4000 in the new Macbook?
    Is it really equal to Geforce 520m?

    I bought a Core i7 Macbook pro 15" mid 2012 non retina model, with 8 GB RAM,
    It has Intel HD 4000 512 MB VRAM and Nvidia GT-650M 1 GB VRAM
    Apple released ( MacBook Air & MacBook Pro Update 2.0 ) for mid 2012 model
    It is not a firmware update...
    The results after the update ... Intel HD 4000 384 MB VRAM instead of 512 MB
    I reinstalled the OS 10.8, 10.8.2 combo update again, and did hide the MacBook pro update 2.0
    The VRAM of the Intel HD 4000 came to 512 MB
    so in my case
    8GB RAM -> 384 VRAM After update
    8GB RAM -> 512 VRAM Before update
    which is better ??

  • BB Curve 9220 not reading the memory card

    Hello,
    I have a Blackberry Curve 9220
    v7.1.0.746 , Platform 9.50.0.80
    1 week ago I was using this phone and that time i didnt have a memory card in this device. I opened wechat and it showed either to insert memory card or to disable usb mass storage in this device. I didnt have a memory card that time, so, i tried todisable the usb mass storage and I did that.
    Today, I inserted a memory card in this device, it shows that "Media Card is presently not inserted in this device"
    When I searched the internet I got some solutions. They showed that to enable mass storage mode and check media card support on.
    I turned Media Support set to ON.
    I have made sure that the media card is formatted and inserted properly.
    BUT
    When i pressed the option (BB Logo key) button , it didnt show the option to enable  usb mass storage. It just showed these options : "Switch app" ,"Select Text" , "Save" , "Help" , "Close".
    There is no option to enable usb mass storage and it is not reading the memory card
    Please tell me what to do !
    Thankyou

    Hi Manabb04
    Enable or disable USB mass storage mode
    If you connect your BlackBerry smartphone to your computer using a USB cable but does not appear as a drive on your computer, you may need to activate the USB mass storage.
    On the Home screen or in a folder, click the Options icon. 
    Click Device> Storage.
    Press  > Enable USB mass storage.
    If necessary, type the password for the smartphone.
    Your smartphone appears as a drive on your computer.
    To disable USB mass storage mode, press  > Disconnect.
    BBM Channels  PIN: C0007093A
    Do not forget to give LIKE    Those people who help you and advise you about your doubts.  if the review has been SOLVED** # 4LL  #ÉliteRoad  Make a backup of your BlackBerry
    BlackBerry Protect and  BlackBerry Link constantly.  #ichooseBlackBerry10 Gutijose14 Forums Veteran I

  • How to read system memory size, processor speed of a system

    Hi all,
    How to read system memory size, processor speed of a system and how to read how much of it are in use in a running system. (using java)
    any help would be great.
    -thanks

    How to read system memory size, processor speed of a
    system and how to read how much of it are in use in a
    running system. (using java)Using Java: not at all. You'll need JNI.

  • How to determine the Memory size of my computer?

    I need to find a way to determine how much computer RAM i have left. I was suggested to use System class methods like "Runtime.getRuntime().getFreeMemory()", and I need to determine how much Memory I need to use when I launch Java VM with Xmx option.
    I wonder if there is more detail I need to know at this moment? If this question is more suitable in Java VM forum, please let me know.

    This is a slightly messed version of the one in the J2D Demo, use JFrame.add(new MemoryMonitor());
    I'm not entirely sure if it'll work straight off since I messed with it but it should, all the memory stuff is hidden away there somewhere even if it won't.
    Shish
    ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
    import java.awt.*;
    import java.awt.event.*;
    import java.awt.image.BufferedImage;
    import java.awt.geom.Line2D;
    import java.awt.geom.Rectangle2D;
    import java.util.Date;
    import javax.swing.*;
    import javax.swing.border.EtchedBorder;
    import javax.swing.border.TitledBorder;
    public class MemoryMonitor extends JPanel {
        static JCheckBox dateStampCB = new JCheckBox("Output Date Stamp");
        public Surface surf;
        JPanel controls;
        boolean doControls;
        JTextField tf;
        public MemoryMonitor() {
         note=n;
            setLayout(new BorderLayout());
            setBorder(new TitledBorder(new EtchedBorder(), "Memory Monitor"));
            add(surf = new Surface());
            controls = new JPanel();
            controls.setPreferredSize(new Dimension(135,80));
            Font font = new Font("serif", Font.PLAIN, 10);
            JLabel label = new JLabel("Sample Rate");
            label.setFont(font);
            label.setForeground(Color.black);
            controls.add(label);
            tf = new JTextField("1000");
            tf.setPreferredSize(new Dimension(45,20));
            controls.add(tf);
            controls.add(label = new JLabel("ms"));
            label.setFont(font);
            label.setForeground(Color.black);
            controls.add(dateStampCB);
            dateStampCB.setFont(font);
            addMouseListener(new MouseAdapter() {
                public void mouseClicked(MouseEvent e) {
                   removeAll();
                   if ((doControls = !doControls)) {
                       surf.stop();
                       add(controls);
                   } else {
                       try {
                           surf.sleepAmount = Long.parseLong(tf.getText().trim());
                       } catch (Exception ex) {note.alert(ex);}
                       surf.start();
                       add(surf);
                   validate();
                   repaint();
        public void start() {
         surf.start();
        public class Surface extends JPanel implements Runnable {
            public Thread thread;
            public long sleepAmount = 1000;
            private int w, h;
            private BufferedImage bimg;
            private Graphics2D big;
            private Font font = new Font("Times New Roman", Font.PLAIN, 11);
            private Runtime r = Runtime.getRuntime();
            private int columnInc;
            private int pts[];
            private int ptNum;
            private int ascent, descent;
            private float freeMemory, totalMemory;
            private Rectangle graphOutlineRect = new Rectangle();
            private Rectangle2D mfRect = new Rectangle2D.Float();
            private Rectangle2D muRect = new Rectangle2D.Float();
            private Line2D graphLine = new Line2D.Float();
            private Color graphColor = new Color(46, 139, 87);
            private Color mfColor = new Color(0, 100, 0);
            private String usedStr;
            public Surface() {
                setBackground(Color.black);
                addMouseListener(new MouseAdapter() {
                    public void mouseClicked(MouseEvent e) {
                        if (thread == null) start(); else stop();
            public Dimension getMinimumSize() {
                return getPreferredSize();
            public Dimension getMaximumSize() {
                return getPreferredSize();
            public Dimension getPreferredSize() {
                return new Dimension(135,80);
            public void paint(Graphics g) {
                if (big == null) {
                    return;
                big.setBackground(getBackground());
                big.clearRect(0,0,w,h);
                float freeMemory = (float) r.freeMemory();
                float totalMemory = (float) r.totalMemory();
                // .. Draw allocated and used strings ..
                big.setColor(Color.green);
                big.drawString(String.valueOf((int) totalMemory/1024) + "K allocated",  4.0f, (float) ascent+0.5f);
                usedStr = String.valueOf(((int) (totalMemory - freeMemory))/1024)
                    + "K used";
                big.drawString(usedStr, 4, h-descent);
                // Calculate remaining size
                float ssH = ascent + descent;
                float remainingHeight = (float) (h - (ssH*2) - 0.5f);
                float blockHeight = remainingHeight/10;
                float blockWidth = 20.0f;
                float remainingWidth = (float) (w - blockWidth - 10);
                // .. Memory Free ..
                big.setColor(mfColor);
                int MemUsage = (int) ((freeMemory / totalMemory) * 10);
                int i = 0;
                for ( ; i < MemUsage ; i++) {
                    mfRect.setRect(5,(float) ssH+i*blockHeight,
                                    blockWidth,(float) blockHeight-1);
                    big.fill(mfRect);
                // .. Memory Used ..
                big.setColor(Color.green);
                for ( ; i < 10; i++)  {
                    muRect.setRect(5,(float) ssH+i*blockHeight,
                                    blockWidth,(float) blockHeight-1);
                    big.fill(muRect);
                // .. Draw History Graph ..
                big.setColor(graphColor);
                int graphX = 30;
                int graphY = (int) ssH;
                int graphW = w - graphX - 5;
                int graphH = (int) remainingHeight;
                graphOutlineRect.setRect(graphX, graphY, graphW, graphH);
                big.draw(graphOutlineRect);
                int graphRow = graphH/10;
                // .. Draw row ..
                for (int j = graphY; j <= graphH+graphY; j += graphRow) {
                    graphLine.setLine(graphX,j,graphX+graphW,j);
                    big.draw(graphLine);
                // .. Draw animated column movement ..
                int graphColumn = graphW/15;
                if (columnInc == 0) {
                    columnInc = graphColumn;
                for (int j = graphX+columnInc; j < graphW+graphX; j+=graphColumn) {
                    graphLine.setLine(j,graphY,j,graphY+graphH);
                    big.draw(graphLine);
                --columnInc;
                if (pts == null) {
                    pts = new int[graphW];
                    ptNum = 0;
                } else if (pts.length != graphW) {
                    int tmp[] = null;
                    if (ptNum < graphW) {    
                        tmp = new int[ptNum];
                        System.arraycopy(pts, 0, tmp, 0, tmp.length);
                    } else {       
                        tmp = new int[graphW];
                        System.arraycopy(pts, pts.length-tmp.length, tmp, 0, tmp.length);
                        ptNum = tmp.length - 2;
                    pts = new int[graphW];
                    System.arraycopy(tmp, 0, pts, 0, tmp.length);
                } else {
                    big.setColor(Color.yellow);
                    pts[ptNum] = (int)(graphY+graphH*(freeMemory/totalMemory));
                    for (int j=graphX+graphW-ptNum, k=0;k < ptNum; k++, j++) {
                        if (k != 0) {
                            if (pts[k] != pts[k-1]) {
                                big.drawLine(j-1, pts[k-1], j, pts[k]);
                            } else {
                                big.fillRect(j, pts[k], 1, 1);
                    if (ptNum+2 == pts.length) {
                        // throw out oldest point
                        for (int j = 1;j < ptNum; j++) {
                            pts[j-1] = pts[j];
                        --ptNum;
                    } else {
                        ptNum++;
                g.drawImage(bimg, 0, 0, this);
            public void start() {
                thread = new Thread(this);
                thread.setPriority(Thread.MIN_PRIORITY);
                thread.setName("MemoryMonitor");
                thread.start();
            public synchronized void stop() {
                thread = null;
                notify();
            public void run() {
                Thread me = Thread.currentThread();
                while (thread == me && !isShowing() || getSize().width == 0) {
                    try {
                        thread.sleep(500);
                    } catch (InterruptedException e) { return; }
                while (thread == me && isShowing()) {
                    Dimension d = getSize();
                    if (d.width != w || d.height != h) {
                        w = d.width;
                        h = d.height;
                        bimg = (BufferedImage) createImage(w, h);
                        big = bimg.createGraphics();
                        big.setFont(font);
                        FontMetrics fm = big.getFontMetrics(font);
                        ascent = (int) fm.getAscent();
                        descent = (int) fm.getDescent();
                    repaint();
                    try {
                        thread.sleep(sleepAmount);
                    } catch (InterruptedException e) { break; }
                    if (MemoryMonitor.dateStampCB.isSelected()) {
                         System.out.println(new Date().toString() + " " + usedStr);
                thread = null;
    public static void main(String s[]) {
            final MemoryMonitor demo = new MemoryMonitor();
            WindowListener l = new WindowAdapter() {
                public void windowClosing(WindowEvent e) {System.exit(0);}
                public void windowDeiconified(WindowEvent e) { demo.surf.start(); }
                public void windowIconified(WindowEvent e) { demo.surf.stop(); }
            JFrame f = new JFrame("Java2D Demo - MemoryMonitor");
            f.addWindowListener(l);
            f.getContentPane().add("Center", demo);
            f.pack();
            f.setSize(new Dimension(200,200));
            f.setVisible(true);
            demo.surf.start();

  • How to adjust the memory size of partition?

    I have the mac os partition and bootcamp partition in my air now. And I installed win7 into the bootcamp for 190G. So I want to adjust the size of bootcamp and enlarge the mac os partition, and create a new partition for using time machine. Can I make it without losing any data?

    Keeping no backups is a disaster waiting to happen so it is good that you are planning to use TimeMachine, but putting your backup on a partition of the drive you are backing up is almost like having no backup plan. There are lots of reasons you'd need to restore from a backup and many (if not most) would also leave your TM backup unusable. If your hard drive dies you'd have no TM backup. If your partition table is damaged you'd have no backup. If your computer were stolen you'd have no backup. If fire or flood destroyed your computer you'd have no backup. Buy an external hard drive and use that for TM backups and you can leave your computer's hard drive alone.

  • How to read the memory/memdbg log with regards to an OOM?

    We're trying to migrate from Sun JVM 1.5.0_14 to JRockit R27.5.0 running WebLogic 9.2.2 on Sun Solaris 10 on T2000 boxes (8 cores and 32G of memory). When specifying an pausetime target of 200ms (-server -Xms1g -Xmx1g -XgcPrio:pausetime -Xpausetarget=200ms -XXgcThreads:4 -XXoptThreads:4 -XXnoSystemGC -XXallocPrefetch) we're running in OOMs like
    <17.03.2008 18.17 Uhr CET> <Notice> <Log Management> <BEA-170027> <The server initialized the domain log broadcaster successfully. Log messages will now be broadcasted to the domain log.>
    Exception in thread "Dispatcher-Thread-19" java.lang.OutOfMemoryError: allocLargeObjectOrArray - Object size: 7057136, Num elements: 3528560
         at java.lang.AbstractStringBuilder.expandCapacity(AbstractStringBuilder.java:99)
         at java.lang.AbstractStringBuilder.append(AbstractStringBuilder.java:393)
         at java.lang.StringBuilder.append(StringBuilder.java:120)
         at java.lang.Thread.run(Thread.java:595)
    <17.03.2008 18.17 Uhr CET> <Notice> <Cluster> <BEA-000138> <Listening for announcements from cluster PT_VK_Cluster on 239.255.255.22:7001.> From the corresponding memory/memdbg log:
    [memory ][Mon Mar 17 17:45:30 2008][15174] Running with 32 bit heap and compressed references.
    [memdbg ][Mon Mar 17 17:45:30 2008][15174] Memory layout after heap allocation:
    [memdbg ][Mon Mar 17 17:45:30 2008][15174] ' ' - free, '-' - OS reserved range, 'r' - reserved,  'x' - committed,
    [memdbg ][Mon Mar 17 17:45:30 2008][15174] '+' - committed/read, 'e' - committed/executable
    [memdbg ][Mon Mar 17 17:45:30 2008][15174] 'J' - java heap, 'j' - java heap data structures
    [memdbg ][Mon Mar 17 17:45:30 2008][15174] 00 0.00Gb -jjjjjjjj+jJJJJJJJJJJJJJJJJJJJJJJJJJJJJJJJJJJJJJJJJJJJJJJJJJJJJJ
    [memdbg ][Mon Mar 17 17:45:30 2008][15174] 10 0.25Gb JJJJJJJJJJJJJJJJJJJJJJJJJJJJJJJJJJJJJJJJJJJJJJJJJJJJJJJJJJJJJJJJ
    [memdbg ][Mon Mar 17 17:45:30 2008][15174] 20 0.50Gb JJJJJJJJJJJJJJJJJJJJJJJJJJJJJJJJJJJJJJJJJJJJJJJJJJJJJJJJJJJJJJJJ
    [memdbg ][Mon Mar 17 17:45:30 2008][15174] 30 0.75Gb JJJJJJJJJJJJJJJJJJJJJJJJJJJJJJJJJJJJJJJJJJJJJJJJJJJJJJJJJJJJJJJJ
    [memdbg ][Mon Mar 17 17:45:30 2008][15174] 40 1.00Gb JJJJJJJJJJJ                                                    
    [memdbg ][Mon Mar 17 17:45:30 2008][15174] 50 1.25Gb                                                                
    [memdbg ][Mon Mar 17 17:45:30 2008][15174] 60 1.50Gb                                                                
    [memdbg ][Mon Mar 17 17:45:30 2008][15174] 70 1.75Gb                                                                
    [memdbg ][Mon Mar 17 17:45:30 2008][15174] 80 2.00Gb                                                                
    [memdbg ][Mon Mar 17 17:45:30 2008][15174] 90 2.25Gb                                                                
    [memdbg ][Mon Mar 17 17:45:30 2008][15174] a0 2.50Gb                                                                
    [memdbg ][Mon Mar 17 17:45:30 2008][15174] b0 2.75Gb                                                                
    [memdbg ][Mon Mar 17 17:45:30 2008][15174] c0 3.00Gb                                                                
    [memdbg ][Mon Mar 17 17:45:30 2008][15174] d0 3.25Gb                                                                
    [memdbg ][Mon Mar 17 17:45:30 2008][15174] e0 3.50Gb                                                                
    [memdbg ][Mon Mar 17 17:45:30 2008][15174] f0 3.75Gb                                                                
    [memdbg ][Mon Mar 17 17:45:30 2008][15174] Minimum TLA size is 2048 bytes
    [memdbg ][Mon Mar 17 17:45:30 2008][15174] Preferred TLA size is 40960 bytes
    [memdbg ][Mon Mar 17 17:45:30 2008][15174] Large object limit is 2048 bytes
    [memdbg ][Mon Mar 17 17:45:30 2008][15174] Minimal blocksize on the freelist is 2048 bytes
    [memdbg ][Mon Mar 17 17:45:30 2008][15174] Initial and maximum number of gc threads: 4, of which 4 parallel threads, 4 concurrent threads, and 4 yc threads.
    [memdbg ][Mon Mar 17 17:45:30 2008][15174] Maximum nursery percentage of free heap is: 95.
    [memdbg ][Mon Mar 17 17:45:30 2008][15174] Prefetch distance in balanced tree: 4
    [compact][Mon Mar 17 17:45:30 2008][15174] Compactset limit: 299900, Using matrixes: 1, Static: 0
    [memory ][Mon Mar 17 17:45:30 2008][15174] GC mode: Garbage collection optimized for short pausetimes, initial strategy: Concurrent Mark & Sweep
    [memory ][Mon Mar 17 17:45:30 2008][15174] heap size: 1048576K, maximal heap size: 1048576K
    [memory ][Mon Mar 17 17:45:30 2008][15174] < s>-<end>: GC <before>K-><after>K (<heap>K), <pause> ms
    [memory ][Mon Mar 17 17:45:30 2008][15174] <s/start> - start time of collection (seconds since jvm start)
    [memory ][Mon Mar 17 17:45:30 2008][15174] <end>     - end time of collection (seconds since jvm start)
    [memory ][Mon Mar 17 17:45:30 2008][15174] <before>  - memory used by objects before collection (KB)
    [memory ][Mon Mar 17 17:45:30 2008][15174] <after>   - memory used by objects after collection (KB)
    [memory ][Mon Mar 17 17:45:30 2008][15174] <heap>    - size of heap after collection (KB)
    [memory ][Mon Mar 17 17:45:30 2008][15174] <pause>   - total sum of pauses during collection (milliseconds)
    [memory ][Mon Mar 17 17:45:30 2008][15174]             run with -Xverbose:gcpause to see individual pauses
    [memdbg ][Mon Mar 17 17:45:30 2008][15174] Using prefetch linesize: 16 bytes  chunks: 512 bytes pf_dist: 128 bytes
    [gcpause][Mon Mar 17 18:17:38 2008][15174] Thread "Dispatcher-Thread-19" id=79 idx=0x138 tid=78 was in object alloc 3524.102 ms from 1924.890 s
    [memdbg ][Mon Mar 17 18:17:38 2008][15174] GC reason: Large object allocation failed (7057136 bytes), cause: Alloc Queue
    [memdbg ][Mon Mar 17 18:17:38 2008][15174] Stopping of javathreads took 19.615 ms
    [memdbg ][Mon Mar 17 18:17:38 2008][15174] old collection 181 started
    [memdbg ][Mon Mar 17 18:17:38 2008][15174] Alloc Queue size before GC: 7057136, tlas: 0, oldest: 0
    [memdbg ][Mon Mar 17 18:17:38 2008][15174] Compacting 8 heap parts at index 24 (type external) (exceptional false)
    [compact][Mon Mar 17 18:17:38 2008][15174] OC 181: 8 parts (max 512), index 24. Type external, (exceptional false)
    [compact][Mon Mar 17 18:17:38 2008][15174] Area start: 0x5b00000, end: 0x6b00000
    [memdbg ][Mon Mar 17 18:17:38 2008][15174] Starting initial marking phase (OC1).
    [nursery][Mon Mar 17 18:17:38 2008][15174] KeepAreaStart: 0x150a5378 KeepAreaEnd: 0x1aeb8918
    [nursery][Mon Mar 17 18:17:38 2008][15174] Young collection started. This YC is a part of OC#181 initial marking.
    [nursery][Mon Mar 17 18:17:38 2008][15174] Setting mmNurseryMarker[0] to 0xf803880
    [nursery][Mon Mar 17 18:17:38 2008][15174] Setting mmNurseryMarker[1] to 0x150a5378
    [memdbg ][Mon Mar 17 18:17:38 2008][15174] Initial marking phase promoted 2 objects (0K)
    [gcpause][Mon Mar 17 18:17:38 2008][15174] old collection phase 1 pause time: 124.798376 ms, (start time: 1928.495 s)
    [memdbg ][Mon Mar 17 18:17:38 2008][15174] Restarting of javathreads took 0.643 ms
    [memdbg ][Mon Mar 17 18:17:38 2008][15174] Starting concurrent marking phase (OC2).
    [memdbg ][Mon Mar 17 18:17:41 2008][15174] Starting precleaning phase (OC3).
    [memdbg ][Mon Mar 17 18:17:41 2008][15174] Stopping of javathreads took 19.442 ms
    [memdbg ][Mon Mar 17 18:17:41 2008][15174] Starting final marking phase (OC4).
    [nursery][Mon Mar 17 18:17:41 2008][15174] KeepAreaStart: 0x0 KeepAreaEnd: 0x0
    [nursery][Mon Mar 17 18:17:41 2008][15174] Young collection started. This YC is a part of OC#181 final marking.
    [memdbg ][Mon Mar 17 18:17:41 2008][15174] Final marking phase promoted 75597 objects (2829K)
    [memdbg ][Mon Mar 17 18:17:41 2008][15174] Removing 20 permanent work packets from pool, now 376 packets
    [memdbg ][Mon Mar 17 18:17:41 2008][15174] total concurrent mark time: 3261.573 ms
    [memdbg ][Mon Mar 17 18:17:41 2008][15174] ending marking phase
    [memdbg ][Mon Mar 17 18:17:41 2008][15174] current error: -236.220931
    [memdbg ][Mon Mar 17 18:17:41 2008][15174] Requesting to run parallel sweep since Alloc Queue is non-empty.
    [memdbg ][Mon Mar 17 18:17:41 2008][15174] Will use parallel sweep instead of concurrent sweep due to request.
    [memdbg ][Mon Mar 17 18:17:41 2008][15174] starting parallel sweeping phase
    [compact][Mon Mar 17 18:17:41 2008][15174] Evacuation added 1473472 bytes to the freelist
    [compact][Mon Mar 17 18:17:41 2008][15174] Evacuation added 318008 bytes to the freelist
    [compact][Mon Mar 17 18:17:41 2008][15174] Evacuation added 60896 bytes to the freelist
    [compact][Mon Mar 17 18:17:41 2008][15174] Evacuation added 129984 bytes to the freelist
    [compact][Mon Mar 17 18:17:41 2008][15174] Evacuation added 1230896 bytes to the freelist
    [compact][Mon Mar 17 18:17:41 2008][15174] Evacuation added 1881216 bytes to the freelist
    [compact][Mon Mar 17 18:17:41 2008][15174] Evacuation added 262360 bytes to the freelist
    [compact][Mon Mar 17 18:17:41 2008][15174] Evacuation added 1293112 bytes to the freelist
    [compact][Mon Mar 17 18:17:41 2008][15174] Evacuation added 1031088 bytes to the freelist
    [compact][Mon Mar 17 18:17:41 2008][15174] Evacuation added 3392344 bytes to the freelist
    [compact][Mon Mar 17 18:17:41 2008][15174] Evacuation added 520800 bytes to the freelist
    [compact][Mon Mar 17 18:17:41 2008][15174] Evacuation added 94160 bytes to the freelist
    [compact][Mon Mar 17 18:17:41 2008][15174] Evacuation added 391624 bytes to the freelist
    [compact][Mon Mar 17 18:17:41 2008][15174] Evacuation added 2152 bytes to the freelist
    [compact][Mon Mar 17 18:17:41 2008][15174] Evacuation added 13144 bytes to the freelist
    [compact][Mon Mar 17 18:17:41 2008][15174] Evacuation added 1560688 bytes to the freelist
    [compact][Mon Mar 17 18:17:41 2008][15174] Evacuation added 3968 bytes to the freelist
    [compact][Mon Mar 17 18:17:41 2008][15174] Evacuation added 280952 bytes to the freelist
    [compact][Mon Mar 17 18:17:41 2008][15174] Evacuation added 232952 bytes to the freelist
    [compact][Mon Mar 17 18:17:41 2008][15174] Evacuation added 838880 bytes to the freelist
    [compact][Mon Mar 17 18:17:41 2008][15174] Evacuation added 142616 bytes to the freelist
    [compact][Mon Mar 17 18:17:41 2008][15174] Evacuation added 18656 bytes to the freelist
    [compact][Mon Mar 17 18:17:41 2008][15174] Evacuation added 103312 bytes to the freelist
    [compact][Mon Mar 17 18:17:41 2008][15174] Evacuation added 35496 bytes to the freelist
    [compact][Mon Mar 17 18:17:41 2008][15174] Evacuation added 374760 bytes to the freelist
    [compact][Mon Mar 17 18:17:41 2008][15174] Evacuation added 4216 bytes to the freelist
    [compact][Mon Mar 17 18:17:41 2008][15174] Evacuation added 1081256 bytes to the freelist
    [compact][Mon Mar 17 18:17:41 2008][15174] Evacuation found 9621 objects and moved 9587 objects
    [memdbg ][Mon Mar 17 18:17:41 2008][15174] total sweep time: 57.433 ms
    [memdbg ][Mon Mar 17 18:17:41 2008][15174] ending sweeping phase
    [nursery][Mon Mar 17 18:17:41 2008][15174] Setting mmNurseryMarker[0] to 0xf77a8c8
    [nursery][Mon Mar 17 18:17:41 2008][15174] Setting mmNurseryMarker[1] to 0x1501a790
    [nursery][Mon Mar 17 18:17:41 2008][15174] Nursery size increased from 0kb to 327680kb. Parts: 1177
    [gcpause][Mon Mar 17 18:17:41 2008][15174] Threads waited for memory 3398.495 ms starting at 1928.426 s
    [memdbg ][Mon Mar 17 18:17:41 2008][15174] Alloc Queue size after GC: 7057136, tlas: 0, oldest: 1
    [compact][Mon Mar 17 18:17:41 2008][15174] Average compact time ratio: 0.953058
    [compact][Mon Mar 17 18:17:41 2008][15174] Compaction pause: 36.552 (target 127.074), update ref pause: 2.080 (target 6.259)
    [compact][Mon Mar 17 18:17:41 2008][15174] Updated 16423 refs (limit: 54054).
    [compact][Mon Mar 17 18:17:41 2008][15174] Compaction ended at index 31, object end address 0x69f8058.
    [compact][Mon Mar 17 18:17:41 2008][15174] Summary: 181;24;31;8;2;0;36.552;127.074;2.080;6.259;16423;54054
    [compact][Mon Mar 17 18:17:41 2008][15174] External default parts to compact set to 16
    [compact][Mon Mar 17 18:17:41 2008][15174] Compaction too short, increasing compact ratio.
    [memdbg ][Mon Mar 17 18:17:41 2008][15174] gc-trigger is 12.339 %
    [memdbg ][Mon Mar 17 18:17:41 2008][15174] Nursery size after OC: 335544320
    [gcpause][Mon Mar 17 18:17:41 2008][15174] old collection phase 4-0 pause time: 250.697868 ms, (start time: 1931.576 s)
    [gcpause][Mon Mar 17 18:17:41 2008][15174] (pause includes compaction: 36.552 ms (external), update ref: 2.080 ms)
    [memory ][Mon Mar 17 18:17:41 2008][15174] 1928.495-1931.826: GC 169061K->164649K (1048576K), sum of pauses 375.496 ms
    [memdbg ][Mon Mar 17 18:17:41 2008][15174] Page faults before GC: 4527, page faults after GC: 4527, pages in heap: 131072
    [finaliz][Mon Mar 17 18:17:41 2008][15174] (OC) Pending finalizers 0->2
    [memdbg ][Mon Mar 17 18:17:41 2008][15174] Restarting of javathreads took 0.726 ms
    [memdbg ][Mon Mar 17 18:17:41 2008][15174] GC reason: Large object allocation failed (7057136 bytes), cause: Alloc Queue
    [memdbg ][Mon Mar 17 18:17:41 2008][15174] Stopping of javathreads took 19.403 ms
    [memdbg ][Mon Mar 17 18:17:41 2008][15174] old collection 182 started
    [memdbg ][Mon Mar 17 18:17:41 2008][15174] Alloc Queue size before GC: 7057136, tlas: 0, oldest: 1
    [memdbg ][Mon Mar 17 18:17:41 2008][15174] Exceptional compaction at end of heap ordered. Requesting to run parallel sweep.
    [memdbg ][Mon Mar 17 18:17:41 2008][15174] Compacting 16 heap parts at index 496 (type external) (exceptional true)
    [compact][Mon Mar 17 18:17:41 2008][15174] OC 182: 16 parts (max 512), index 496. Type external, (exceptional true)
    [compact][Mon Mar 17 18:17:41 2008][15174] Area start: 0x40b00000, end: 0x42b00000
    [memdbg ][Mon Mar 17 18:17:41 2008][15174] Starting initial marking phase (OC1).
    [nursery][Mon Mar 17 18:17:41 2008][15174] KeepAreaStart: 0x1501a790 KeepAreaEnd: 0x1aabc2d0
    [nursery][Mon Mar 17 18:17:41 2008][15174] Young collection started. This YC is a part of OC#182 initial marking.
    [nursery][Mon Mar 17 18:17:41 2008][15174] Setting mmNurseryMarker[0] to 0xf77a8c8
    [nursery][Mon Mar 17 18:17:41 2008][15174] Setting mmNurseryMarker[1] to 0x1501a790
    [memdbg ][Mon Mar 17 18:17:41 2008][15174] Initial marking phase promoted 2351 objects (94K)
    [gcpause][Mon Mar 17 18:17:41 2008][15174] old collection phase 1 pause time: 126.584439 ms, (start time: 1931.874 s)
    [memdbg ][Mon Mar 17 18:17:41 2008][15174] Restarting of javathreads took 0.547 ms
    [memdbg ][Mon Mar 17 18:17:41 2008][15174] Starting concurrent marking phase (OC2).
    [compact][Mon Mar 17 18:17:42 2008][15174] Pointermatrix for thread '(GC Main Thread)' failed to extend beyond 43378 elements.
    [memdbg ][Mon Mar 17 18:17:42 2008][15174] Too many pointers, compaction aborted
    [memdbg ][Mon Mar 17 18:17:44 2008][15174] Starting precleaning phase (OC3).
    [memdbg ][Mon Mar 17 18:17:44 2008][15174] Stopping of javathreads took 19.425 ms
    [memdbg ][Mon Mar 17 18:17:44 2008][15174] Starting final marking phase (OC4).
    [nursery][Mon Mar 17 18:17:44 2008][15174] KeepAreaStart: 0x0 KeepAreaEnd: 0x0
    [nursery][Mon Mar 17 18:17:44 2008][15174] Young collection started. This YC is a part of OC#182 final marking.
    [memdbg ][Mon Mar 17 18:17:44 2008][15174] Final marking phase promoted 72379 objects (2561K)
    [memdbg ][Mon Mar 17 18:17:44 2008][15174] Removing 19 permanent work packets from pool, now 357 packets
    [memdbg ][Mon Mar 17 18:17:44 2008][15174] total concurrent mark time: 3161.521 ms
    [memdbg ][Mon Mar 17 18:17:44 2008][15174] ending marking phase
    [memdbg ][Mon Mar 17 18:17:44 2008][15174] current error: -175.496244
    [memdbg ][Mon Mar 17 18:17:44 2008][15174] Requesting to run parallel sweep since Alloc Queue is non-empty.
    [memdbg ][Mon Mar 17 18:17:44 2008][15174] Will use parallel sweep instead of concurrent sweep due to request.
    [memdbg ][Mon Mar 17 18:17:44 2008][15174] starting parallel sweeping phase
    [memdbg ][Mon Mar 17 18:17:44 2008][15174] total sweep time: 18.785 ms
    [memdbg ][Mon Mar 17 18:17:44 2008][15174] ending sweeping phase
    [nursery][Mon Mar 17 18:17:44 2008][15174] Setting mmNurseryMarker[0] to 0xf77aa98
    [nursery][Mon Mar 17 18:17:44 2008][15174] Setting mmNurseryMarker[1] to 0x14e0c8f0
    [nursery][Mon Mar 17 18:17:44 2008][15174] Nursery size increased from 0kb to 327680kb. Parts: 1263
    [memdbg ][Mon Mar 17 18:17:44 2008][15174] Alloc Queue size after GC: 7057136, tlas: 0, oldest: 2
    [compact][Mon Mar 17 18:17:44 2008][15174] Compaction pause: 0.000 (target 127.074), update ref pause: 0.000 (target 6.259)
    [compact][Mon Mar 17 18:17:44 2008][15174] Updated 43378 refs (limit: 54054).
    [compact][Mon Mar 17 18:17:44 2008][15174] Compaction ended at index 31, object end address 0x69f8058.
    [compact][Mon Mar 17 18:17:44 2008][15174] Summary: 182;24;31;16;0;1;0.000;127.074;0.000;6.259;43378;54054
    [compact][Mon Mar 17 18:17:44 2008][15174] Exceptional compaction size requested by allocator, not adjusting compact ratio.
    [memdbg ][Mon Mar 17 18:17:44 2008][15174] gc-trigger is 12.339 %
    [memdbg ][Mon Mar 17 18:17:44 2008][15174] Nursery size after OC: 335544320
    [gcpause][Mon Mar 17 18:17:44 2008][15174] old collection phase 4-0 pause time: 235.501725 ms, (start time: 1934.832 s)
    [gcpause][Mon Mar 17 18:17:44 2008][15174] (pause includes compaction: 0.000 ms (no compaction), update ref: 0.000 ms)
    [memory ][Mon Mar 17 18:17:44 2008][15174] 1931.874-1935.068: GC 168649K->163056K (1048576K), sum of pauses 362.086 ms
    [memdbg ][Mon Mar 17 18:17:44 2008][15174] Page faults before GC: 4527, page faults after GC: 4527, pages in heap: 131072
    [finaliz][Mon Mar 17 18:17:44 2008][15174] (OC) Pending finalizers 0->2
    [memdbg ][Mon Mar 17 18:17:44 2008][15174] Restarting of javathreads took 0.667 ms
    [memdbg ][Mon Mar 17 18:17:44 2008][15174] GC reason: Large object allocation failed (7057136 bytes), cause: Alloc Queue
    [memdbg ][Mon Mar 17 18:17:44 2008][15174] Stopping of javathreads took 20.308 ms
    [memdbg ][Mon Mar 17 18:17:44 2008][15174] old collection 183 started
    [memdbg ][Mon Mar 17 18:17:44 2008][15174] Alloc Queue size before GC: 7057136, tlas: 0, oldest: 2
    [memdbg ][Mon Mar 17 18:17:44 2008][15174] Compacting 512 heap parts at index 0 (type internal) (exceptional true)
    [compact][Mon Mar 17 18:17:44 2008][15174] OC 183: 512 parts (max 512), index 0. Type internal, (exceptional true)
    [compact][Mon Mar 17 18:17:44 2008][15174] Area start: 0x2b00000, end: 0x42b00000
    [memdbg ][Mon Mar 17 18:17:44 2008][15174] Starting initial marking phase (OC1).
    [nursery][Mon Mar 17 18:17:44 2008][15174] KeepAreaStart: 0x14e0c8f0 KeepAreaEnd: 0x1a85bc48
    [nursery][Mon Mar 17 18:17:44 2008][15174] Young collection started. This YC is a part of OC#183 initial marking.
    [nursery][Mon Mar 17 18:17:44 2008][15174] Setting mmNurseryMarker[0] to 0xf77aa98
    [nursery][Mon Mar 17 18:17:44 2008][15174] Setting mmNurseryMarker[1] to 0x14e0c8f0
    [memdbg ][Mon Mar 17 18:17:44 2008][15174] Initial marking phase promoted 632 objects (18K)
    [gcpause][Mon Mar 17 18:17:44 2008][15174] old collection phase 1 pause time: 133.589550 ms, (start time: 1935.151 s)
    [memdbg ][Mon Mar 17 18:17:44 2008][15174] Restarting of javathreads took 0.465 ms
    [memdbg ][Mon Mar 17 18:17:44 2008][15174] Starting concurrent marking phase (OC2).
    [memdbg ][Mon Mar 17 18:17:48 2008][15174] Starting precleaning phase (OC3).
    [memdbg ][Mon Mar 17 18:17:48 2008][15174] Stopping of javathreads took 19.590 ms
    [memdbg ][Mon Mar 17 18:17:48 2008][15174] Starting final marking phase (OC4).
    [nursery][Mon Mar 17 18:17:48 2008][15174] KeepAreaStart: 0x0 KeepAreaEnd: 0x0
    [nursery][Mon Mar 17 18:17:48 2008][15174] Young collection started. This YC is a part of OC#183 final marking.
    [compact][Mon Mar 17 18:17:48 2008][15174] Pointermatrix for thread '(GC Worker Thread 3)' failed to extend beyond 25391 elements.
    [memdbg ][Mon Mar 17 18:17:48 2008][15174] Too many pointers, compaction aborted
    [memdbg ][Mon Mar 17 18:17:49 2008][15174] Final marking phase promoted 126119 objects (4396K)
    [memdbg ][Mon Mar 17 18:17:49 2008][15174] Removing 18 permanent work packets from pool, now 339 packets
    [memdbg ][Mon Mar 17 18:17:49 2008][15174] total concurrent mark time: 4378.189 ms
    [memdbg ][Mon Mar 17 18:17:49 2008][15174] ending marking phase
    [memdbg ][Mon Mar 17 18:17:49 2008][15174] current error: -162.086164
    [memdbg ][Mon Mar 17 18:17:49 2008][15174] Requesting to run parallel sweep since Alloc Queue is non-empty.
    [memdbg ][Mon Mar 17 18:17:49 2008][15174] Will use parallel sweep instead of concurrent sweep due to request.
    [memdbg ][Mon Mar 17 18:17:49 2008][15174] starting parallel sweeping phase
    [memdbg ][Mon Mar 17 18:17:49 2008][15174] total sweep time: 18.297 ms
    [memdbg ][Mon Mar 17 18:17:49 2008][15174] ending sweeping phase
    [nursery][Mon Mar 17 18:17:49 2008][15174] Setting mmNurseryMarker[0] to 0xf75c4e8
    [nursery][Mon Mar 17 18:17:49 2008][15174] Setting mmNurseryMarker[1] to 0x14dd6788
    [nursery][Mon Mar 17 18:17:49 2008][15174] Nursery size increased from 0kb to 327680kb. Parts: 1307
    [memdbg ][Mon Mar 17 18:17:49 2008][15174] Alloc Queue size after GC: 0, tlas: 0, oldest: 0
    [compact][Mon Mar 17 18:17:49 2008][15174] Compaction pause: 0.000 (target 127.074), update ref pause: 0.000 (target 6.259)
    [compact][Mon Mar 17 18:17:49 2008][15174] Updated 55716 refs: 0 inside compaction area, and 55716 outside (limit: 54054).
    [compact][Mon Mar 17 18:17:49 2008][15174] Compaction ended at index 31, object end address 0x69f8058.
    [compact][Mon Mar 17 18:17:49 2008][15174] Summary: 183;24;31;512;0;1;0.000;127.074;0.000;6.259;55716;54054
    [compact][Mon Mar 17 18:17:49 2008][15174] Exceptional compaction size requested by allocator, not adjusting compact ratio.
    [memdbg ][Mon Mar 17 18:17:49 2008][15174] gc-trigger is 12.339 %
    [memdbg ][Mon Mar 17 18:17:49 2008][15174] Nursery size after OC: 335544320
    [gcpause][Mon Mar 17 18:17:49 2008][15174] old collection phase 4-0 pause time: 301.755262 ms, (start time: 1939.257 s)
    [gcpause][Mon Mar 17 18:17:49 2008][15174] (pause includes compaction: 0.000 ms (no compaction), update ref: 0.000 ms)
    [memory ][Mon Mar 17 18:17:49 2008][15174] 1935.151-1939.559: GC 226936K->166214K (1048576K), sum of pauses 435.345 ms
    [memdbg ][Mon Mar 17 18:17:49 2008][15174] Page faults before GC: 4527, page faults after GC: 4529, pages in heap: 131072
    [finaliz][Mon Mar 17 18:17:49 2008][15174] (OC) Pending finalizers 0->24
    [memdbg ][Mon Mar 17 18:17:49 2008][15174] Restarting of javathreads took 0.928 ms
    [gcpause][Mon Mar 17 18:17:49 2008][15174] Thread "Dispatcher-Thread-19" id=79 idx=0x138 tid=78 was in object alloc 11134.471 ms from 1928.426 s
    [memory ][Mon Mar 17 18:17:49 2008][15174] Throwing OutOfMemory: allocLargeObjectOrArray - Object size: 7057136, Num elements: 3528560Why was the thread "Dispatcher-Thread-19" not able to allocate 7057136 bytes within 11134.471 ms?
    Cheers,
    Torsten

    Is it expected by your application to create StringBuilders with more than 3 million characters in them?Yes. Our application (which runs happily for years now on Sun's JVM) is producing and consuming large data streams (mostly XML). So a StringBuilder producing a string of 3 million characters ist very common. Some XML data streams consumed from database clobs have up to 10 million characters. As I said, with Sun's JVM we have no problems with fragmentation or aborted compactions with a similar sized heap (-server -Xms1g -Xmx1g -Xmn256m -XX:MaxPermSize=256m -XX:SurvivorRatio=8 -XX:TargetSurvivorRatio=95 -XX:MaxTenuringThreshold=31 -XX:+UseParNewGC -XX:ParallelGCThreads=4 -XX:-BindGCTaskThreadsToCPUs -XX:+UseConcMarkSweepGC -XX:+CMSParallelRemarkEnabled -XX:+DisableExplicitGC).
    Cheers,
    Torsten

  • Desktop manager for mac will not read the memory card

    I have a Storm and the desktop manager does everything correctly except it will not recognize the media card for music.  It says "please insert a media card in your device."  Ive got the 8GB microSD card and it shows up in the phone memory but i cant load any music from my computer.

    OK, I spent an hour and a half on the phone with RIM support this morning trying to fix this very thing with SUCCESS!!!  Here is what you need to do.  Keep in mind that this fix can only be done on a PC and NOT a Mac.  Sucks, but its reality.  Click on the link below and make sure that the PC your doing this on has the BB desktop manager installed on it.  I went to my dads house and used his PC.  After the tech and I learned that the DM has to be installed before you start the fix we were able to resolve the problem and the DM on the mac recognizes the media card.  I'm also able to see the BB1 and BB2 icons on the desktop now so I can drag and drop if I want.  I hope this helps you all.  If you need additional help with this please ask.  I may not be the most tech savy person here but I may be able to help a little.  Here you go:
    NOTE: MAKE SURE THAT THE DESKTOP MANAGER IS INSTALLED ON THE PC YOUR USING FIRST.  I ONLY INSTALLED THE ENGLISH VERSION WITHOUT MEDIA SYNCH (to reduce download size and time)  AND IT WORKED GREAT.
    http://www.blackberry.com/btsc/documentLink.do?externalID=KB19717
    Follow the directions to the tee and it should work fine. 
    PS:  If you have problems with your blackberry and you cant find the fix here or on CB call your carrier tech support.  If they cant resolve they are pretty quick at getting RIM on the case and resolving without you getting charged for it.  Verizon was helpful at that and when I spoke with BB tech support they were extremely helpful.  I was very impressed.
    I hope this helps all of you with this problem.  Good luck out there!!!!

  • How to change the memory size of Iphoto to put more pictures??  I don't have no more space!!!

    Hi....
    I wonted to put some more pictures to Iphoto...but I can't do it because it is telling me that I don't have enough space.... I so that memory on the hard disk for Iphoto is only 37gb ... how can I change that?????  I wont to have all my photos in this program!!
    Thank you for your answers...

    I have trued to clean my hard disk --- but this is not the problem!!
    "IPhoto nn può imporate le foto perchè nn c'è abbastanza spazio libero sul VOLUME che contiene la libreria di Iphoto"
    this is the messege how is coming out....
    it means...
    Iphoto can not import the fotos, because there is not enough free space of VOLUME that containse the library of Iphoto
    do you now that could it be???

  • Limit on the memory/size of the internal table

    Hi,
    Is there any limit on the size of internal table....?
    we are having some select statements that are fetching huge no. of records into the internal tables...
    can some of the records be missed  or is there any limit on the no. of records or size of the internal table...
    The code that we are using is logically correct and it is working fine for small inputs but for the large selections, some of the records are getting missed as we are displaying the data from these internal tables only...
    We can not debug the code coz for the large inputs, code is taking around 2 to 3 hours of processing
    We are using this code in BI in the end routines
    We are doing the operation like
    itab1 = itab2
    where itab2 contains around 25000 records and itab1 is initial(no entries)
    If there is a limit , then how can we increase the size
    Please suggest..
    Thanks
    Tarun Brijwani
    Edited by: Tarun Brijwani on Apr 23, 2009 6:06 PM
    Edited by: Tarun Brijwani on Apr 23, 2009 6:06 PM

    Hello Tarun
    You can limit the number of records selected by your SELECT statement by adding the addition "UP TO n ROWS" to your SELECT statement.
    Example:
    SELECT * FROM TABLEXYZ UP TO 5000 ROWS WHERE .........
    Hope this helps you.
    Thanks and best regards
    Anand.

  • Iphone5 - Downloading application from app store takes more than 24 hours to download and install, even if the memory size of app is very small about 2 MB. WIFI connection seems to works well - because the webpages browsing using safari is very fast.

    I face problem with downloading application from apple store.
    It took more than 5 hours to install google maps application and many other application took more than 24 hours.
    It is very worst to see such downloading performace with my new bought iphone5.
    My WIFI connections seems to be very good. As I can able to open many webpages at very high speed.
    I can able to see my many HD videos open and play immediately once I touch.
    Though i cannot able to test the speed, as the www.speedtest.net also not working in my iphone5.
    When i launch speedtest.net app i get the message "Finding closest server" forever and it is never showing the speed details.
    My laptop shows the 10Mbps speed with speedtest.net on the same WIFI network
    I got much frustrated with iphone5. Can someone help me to fix this issue ?

    Hi Thaimic,
    Thanks for your reply.
    IP Adddress: 192.168.0.101
    Subnetmask: 255.255.255.0
    Router: 192.168.0.7
    DNS: 180.168.255.118, 192.168.1.1
    These are my WLAN details.under DHCP and BootP. Could you please tell me what to do with the DNS ? I do not have idea about the DNS.

  • Maximum Memory Size & Memory Size

    Will a server's memory automatically increase from Memory Size to Maximum Memory Size as the VM requires it? Or is this only valid for adding memory to the Memory Size value manually?

    keithrust wrote:
    Will a server's memory automatically increase from Memory Size to Maximum Memory Size as the VM requires it? Or is this only valid for adding memory to the Memory Size value manually?No, there is no automatic increase in memory. The max memory size just specifies the maximum amount to which you can manually adjust the memory of a running VM. I've now taken to setting the max memory size to the total available memory on my Oracle VM Servers, with memory size set to something reasonable. This way, I can adjust right up to the limit of physical memory without rebooting.

  • Software distribution error with LMS 3.2 regarding flash/memory size

    Hello,
    I'm accustomed to LMS raising warnings about memory size not being enough when in fact there is enough space (eg : there is 256mb, IOS requires 256mb, but LMS calculates 255.234mb, and says there is not enough memory). I've encoutered that situation many times with LMS 3.1 and just learned to ignore it.
    But since I've upgraded to LMS 3.2, we are now getting _errors_ which are preventing us from deploying the IOS, even though there is still enough memory and flash space. I've read in another thread about bug CSCsu49349 but this one should be fixed in LMS 3.2, so I am at lost.
    I always download my IOSes from Cisco.com using LMS so that the proper fields are populated.
    Here is one sample : I was trying to deploy an IOS to a 2821 router. The IOS weighs 29Mb in reality and I have around 31Mb of free flash, and the whole flash is 64Mb, but I get a catastrophic error. Also note the contradictory warning about the memory size :
    Warning - SWIM1065: Minimum RAM requirement of the selected image: 256 MB  .
    RAM available on the device ( 256 MB) May not be enough to activate the  selected image.
    Increase the RAM size for the device, select a different  image for upgrading, or
    specify the RAM size for the image by editing the  attributes of the image stored in the software repository.
    Warning - SWIM1070: Feature subset of the Active image could not be  determined.
    Catastrophic - SWIM1200:Selected Flash partition  requires minimum (64 MB) to upgrade selected software/image.
    Select a  different Flash partition for upgrading the image.
    Do I need to modify the flash requirement on the image to get around this, or is there a patch available for LMS 3.2 ?
    Thanks for the advice,
    Alex.

    Hello,
    After running another inventory to make sure, I get the same error. Here are the steps of the distribution process (we can see I have enough room for the IOS, barely, but still enough) :
    Afterwards I get the failed message :
    And the same error message :
    Thanks for the help!
    Alex.

  • Large memory size

    i created an application that uses 35 MB of memory using the fianal release J2SE 1.4.0
    i'm using swing & JAXP "DOM" to parse and save
    a 25KB xml file.
    my question is:
    how can i analyze the memory of my program, in terms of JVM & Application & Objects of Application(swing, JAXP, EJB......), to focus on one part
    of it, to reduce the memory size, or at least
    know if it is the dcesion of JVM to allocate that memory size.
    any suggesstions, articles, URLs will really help
    thanks.

    you can use a profiler, which shows the allocated/created objects...
    e.g.: on the following sites are demos available
    http://www.optimizeit.com/
    http://www.sitraka.com/software/jprobe/

Maybe you are looking for