Get an java.lang.outofmemoryerror message during installation

hey all!
Since i have searched this forum regarding this problem, and didnt find a solution in an old posts i ask:
I have tried to install oracle 9i on windows xp pro.
everything was go ok , but in the part of trying to install the Oracle Configuration Assistant ,
i got a java.lang.outofmemoryerror error , and now i canot create db with the wizard. as i searchd the forum i read a post claimed that maybe i have a lack of ram on my pc. i have 512mb. could that be the problem? could i try somthing else?
thanks , yair

RAM is very cheap. I would stick in at least 1GB on any PC these days, without even thinking about it. Even my Acer netbook came with 1GB of RAM, despite the entire machine costing less than US$300.
That said, 512MB was supposed to be enough to install 9i, according to the installation criteria published at the time.
I would suggest (failing a RAM upgrade), do a software-only installation and run DBCA to create a database as a separate exercise afterwards.
Also make sure you're not running other stuff that would consume physical memory (eg, browsers, word processors, games, media players, desktop search engines, sidebars, anti-virus scanners, third party firewalls and the like) at the time you do the installation.
And don't change any of the default memory suggestions the Database Configuration Assistant makes for you during that part of the process: messing about with those various memory pools can certainly cause fireworks if you aren't sure what you're doing.
If you can upgrade your PC, I would also suggest you look to installing Oracle 10g rather than 9i: it's supported, at least, has long since been pushed off to the depths of ancient history...

Similar Messages

  • [b]Keep getting java.lang.OutOfMemoryError.....SOMEONE HELP!!!![/b][/b]

    I am currently writing code for a database software using Joins, Collections, Vectors, etc. and when running the code I keep getting a java.lang.OutOfMemoryError. The thing is that I have a parser that parses through different XML files and Java files. It seems as though some of my collections need more space or something else doesn't have enough memory for the parser to pick up everything. It only happens after I add a new constrainable or selectable to the XML file and try and run Queries with that (at least that is where I think the problem is). At this point I have no clue as to what is going on. Could someone please help me out.
    Thanks in Advance!

    i got that once, i did not close() connections/or I opened too many
    i found out 700 is too many the hard way.

  • Getting java.lang.OutOfMemoryError

    Hi,
    I am getting a java.lang.OutOfMemoryError in a created oa page. The suspected cause is running the same query for many times (> 12 times). But it's necessary to run them many times. So is there any solution to work the error out? like cleaning the JVM memory manually/programatically? Please advise.
    thank you very much!

    Hi Guys,
    Thanks very much for the helpful inputs.
    Updating the case:
    1. vo.ClearCache() will not work. I think this one clear the VO cache but not memory
    2. vo.reset() will work. that means this one will clear the memory?
    3. System.gc() will work. I put this function every time I finished running the query
    But I think Pratap is right. The right way to work this out is go through procedures.
    And do you guys think vo.reset() will be good enough for this issue? (System.gc() is not recommended I think.)
    thanks a lot.

  • Don't understand the java.lang.OutOfMemoryError

    Hi there,
    I try to create an 'About' frame for a small programm I created and I get an java.lang.OutOfMemoryError which I don't understand. Can somebody help?
    Here is my code:
    * TabbedPaneDemo.java is a 1.4 example that requires one additional file:
    *   images/middle.gif.
    import javax.swing.JTabbedPane;
    import javax.swing.ImageIcon;
    import javax.swing.JLabel;
    import javax.swing.JPanel;
    import javax.swing.JFrame;
    import javax.swing.JComponent;
    import java.awt.BorderLayout;
    import java.awt.Dimension;
    import java.awt.GridLayout;
    import java.awt.event.KeyEvent;
    import java.awt.Dimension;
    import java.awt.Rectangle;
    public class TabbedAbout extends JPanel {
              JLabel label=new JLabel("PRODUCT INFORMATION ");
                JLabel pv=new JLabel("Product version:");
                JLabel pvR=new JLabel("1.0");
                JLabel javav=new JLabel("Java Version:");
                JLabel javavR=new JLabel("1.4.2");
                JLabel sqlv=new JLabel("PostgreSQL Version:");
                JLabel sqlvR=new JLabel("8.1");
                JLabel pt=new JLabel("Programming Team:");
                JLabel onoma1=new JLabel("Gkisis Traianos");
                JLabel onoma2=new JLabel("Zafeiropoulos Ioannis");
                JLabel onoma3=new JLabel("Supervisor Teacher:");
                JLabel onoma3R=new JLabel("Stamatis Dimosthenis");
                JLabel alr=new JLabel("Product developed as dissertation for the ATEI");
                JLabel alr2=new JLabel("Thessaloniki on autumn 2006.");
                JLabel alr1=new JLabel("All rights reserved");
                ImageIcon icon = createImageIcon("images/folder_sticky.gif");
            ImageIcon icon2 = createImageIcon("images/tick.gif");
        public TabbedAbout() {
             JLabel panel1 = new JLabel();
             JFrame frame = new JFrame("About");
             JFrame.setDefaultLookAndFeelDecorated(true);
             frame.setDefaultCloseOperation(JFrame.HIDE_ON_CLOSE);
             //super(new GridLayout(1, 1));
            JTabbedPane tabbedPane = new JTabbedPane();
            panel1.setIcon(new ImageIcon("images/TakeANoteProgress.jpg"));
            tabbedPane.addTab("About", icon, panel1);
            tabbedPane.setMnemonicAt(0, KeyEvent.VK_1);
            JPanel panel2 = new JPanel();
            //JFrame frame2 = new JFrame();
            panel2.setLayout(null);
            label.setIcon(icon2);
            label.setBounds(new Rectangle(20, 20, 200, 25));
            pv.setBounds(new Rectangle(20, 40, 175, 45));
            pvR.setBounds(new Rectangle(180, 40, 175, 45));
            javav.setBounds(new Rectangle(20, 60, 175, 45));
            javavR.setBounds(new Rectangle(180, 60, 175, 45));
            sqlv.setBounds(new Rectangle(20, 80, 175, 45));
            sqlvR.setBounds(new Rectangle(180, 80, 175, 45));
            pt.setBounds(new Rectangle(20, 100, 175, 45));
            onoma1.setBounds(new Rectangle(180, 100, 175, 45));
            onoma2.setBounds(new Rectangle(180, 120, 175, 45));
            onoma3.setBounds(new Rectangle(20, 140, 175, 45));
            onoma3R.setBounds(new Rectangle(180, 140, 175, 45));
            alr.setBounds(new Rectangle(20, 190, 500, 45));
            alr2.setBounds(new Rectangle(20, 210, 500, 45));
            alr1.setBounds(new Rectangle(20, 250, 500, 45));
            panel2.add(label);
            panel2.add(pv);
            panel2.add(pvR);
            panel2.add(javav);
            panel2.add(javavR);
            panel2.add(sqlv);
            panel2.add(sqlvR);
            panel2.add(pt);
            panel2.add(onoma1);
            panel2.add(onoma2);
            panel2.add(onoma3);
            panel2.add(onoma3R);
            panel2.add(alr);
            panel2.add(alr2);
            panel2.add(alr1);
            tabbedPane.addTab("Detail", icon, panel2);
            tabbedPane.setMnemonicAt(1, KeyEvent.VK_2);
            tabbedPane.setSize(new Dimension(400, 300));
            //Add the tabbed pane to this panel.
            add(tabbedPane);
            //Uncomment the following line to use scrolling tabs.
            //tabbedPane.setTabLayoutPolicy(JTabbedPane.SCROLL_TAB_LAYOUT);
            //Create and set up the content pane.
            JComponent newContentPane = new TabbedAbout();
            newContentPane.setOpaque(true); //content panes must be opaque
            frame.getContentPane().add(new TabbedAbout(),
                                     BorderLayout.CENTER);
            //Display the window.
            frame.setLocationRelativeTo(super.getComponent(0));
            frame.pack();
            frame.setResizable(false);
            frame.setVisible(true);
        protected JComponent makeTextPanel(String text) {
            JPanel panel = new JPanel(false);
            JLabel filler = new JLabel(text);
            filler.setHorizontalAlignment(JLabel.CENTER);
            //panel.setLayout(new GridLayout(1, 1));
            panel.add(filler);
            return panel;
        /** Returns an ImageIcon, or null if the path was invalid. */
        protected static ImageIcon createImageIcon(String path) {
            java.net.URL imgURL = TabbedAbout.class.getResource(path);
            if (imgURL != null) {
                return new ImageIcon(imgURL);
            } else {
                System.err.println("Couldn't find file: " + path);
                return null;
         * Create the GUI and show it.  For thread safety,
         * this method should be invoked from the
         * event-dispatching thread.
       // private static void createAndShowGUI() {
            //Make sure we have nice window decorations.
            //Create and set up the window.
      public static void main(String[] args) {
      //      //Schedule a job for the event-dispatching thread:
        //    //creating and showing this application's GUI.
            //javax.swing.SwingUtilities.invokeLater(new Runnable() {
             // public void run() {
                   TabbedAbout a=new TabbedAbout();
        }Thanks in advance

    I will try your suggestions. But still I don't understand. It was running independently very ok and it was what I wanted. It was built excatly as the example in
    With run and main etc etc. But when I put it in my rest program it started and stack overflow error. Then I tried to change, change, change and got this last form.
    This is what I had before but didn't work with my rest program.
    * TabbedPaneDemo.java is a 1.4 example that requires one additional file:
    *   images/middle.gif.
    import javax.swing.JTabbedPane;
    import javax.swing.ImageIcon;
    import javax.swing.JLabel;
    import javax.swing.JPanel;
    import javax.swing.JFrame;
    import javax.swing.JComponent;
    import java.awt.BorderLayout;
    import java.awt.Dimension;
    import java.awt.GridLayout;
    import java.awt.event.KeyEvent;
    import java.awt.Dimension;
    import java.awt.Rectangle;
    public class TabbedAbout extends JPanel {
      JLabel label=new JLabel("PRODUCT INFORMATION ");
      JLabel pv=new JLabel("Product version:");
      JLabel pvR=new JLabel("1.0");
      JLabel javav=new JLabel("Java Version:");
      JLabel javavR=new JLabel("1.4.2");
      JLabel sqlv=new JLabel("PostgreSQL Version:");
      JLabel sqlvR=new JLabel("8.1");
      JLabel pt=new JLabel("Programming Team:");
      JLabel onoma1=new JLabel("Gkisis Traianos");
      JLabel onoma2=new JLabel("Zafeiropoulos Ioannis");
      JLabel onoma3=new JLabel("Supervisor Teacher:");
      JLabel onoma3R=new JLabel("Dimosthenis Stamatis");
      JLabel alr=new JLabel("Product developed as dissertation for the ATEI Thessaloniki on autumn 2006.");
      JLabel alr1=new JLabel("All rights reserved");
        public TabbedAbout() {
            //super(new GridLayout(1, 1));
            JTabbedPane tabbedPane = new JTabbedPane();
            ImageIcon icon = createImageIcon("images/folder_sticky.gif");
            JLabel panel1 = new JLabel();
            panel1.setIcon(new ImageIcon("images/TakeANote.jpg"));
            tabbedPane.addTab("About", icon, panel1);
            tabbedPane.setMnemonicAt(0, KeyEvent.VK_1);
            JPanel panel2 = new JPanel();
            JFrame frame = new JFrame();
            panel2.setLayout(null);
             label.setBounds(new Rectangle(170, 20, 150, 25));
             pv.setBounds(new Rectangle(90, 40, 175, 45));
             pvR.setBounds(new Rectangle(220, 40, 175, 45));
             javav.setBounds(new Rectangle(90, 60, 175, 45));
             javavR.setBounds(new Rectangle(220, 60, 175, 45));
             sqlv.setBounds(new Rectangle(90, 80, 175, 45));
             sqlvR.setBounds(new Rectangle(220, 80, 175, 45));
             pt.setBounds(new Rectangle(90, 100, 175, 45));
             onoma1.setBounds(new Rectangle(220, 100, 175, 45));
             onoma2.setBounds(new Rectangle(220, 120, 175, 45));
             onoma3.setBounds(new Rectangle(90, 140, 175, 45));
             onoma3R.setBounds(new Rectangle(220, 140, 175, 45));
             alr.setBounds(new Rectangle(30, 170, 500, 45));
             alr1.setBounds(new Rectangle(170, 190, 500, 45));
            panel2.add(label);
            panel2.add(pv);
            panel2.add(pvR);
            panel2.add(javav);
            panel2.add(javavR);
            panel2.add(sqlv);
            panel2.add(sqlvR);
            panel2.add(pt);
            panel2.add(onoma1);
            panel2.add(onoma2);
            panel2.add(onoma3);
            panel2.add(onoma3R);
            panel2.add(alr);
            panel2.add(alr1);
            tabbedPane.addTab("Detail", icon, panel2);
            tabbedPane.setMnemonicAt(1, KeyEvent.VK_2);
            tabbedPane.setSize(new Dimension(400, 300));
            //Add the tabbed pane to this panel.
            add(tabbedPane);
            //Uncomment the following line to use scrolling tabs.
            //tabbedPane.setTabLayoutPolicy(JTabbedPane.SCROLL_TAB_LAYOUT);
        protected JComponent makeTextPanel(String text) {
            JPanel panel = new JPanel(false);
            JLabel filler = new JLabel(text);
            filler.setHorizontalAlignment(JLabel.CENTER);
            //panel.setLayout(new GridLayout(1, 1));
            panel.add(filler);
            return panel;
        /** Returns an ImageIcon, or null if the path was invalid. */
        protected static ImageIcon createImageIcon(String path) {
            java.net.URL imgURL = TabbedAbout.class.getResource(path);
            if (imgURL != null) {
                return new ImageIcon(imgURL);
            } else {
                System.err.println("Couldn't find file: " + path);
                return null;
         * Create the GUI and show it.  For thread safety,
         * this method should be invoked from the
         * event-dispatching thread.
        private static void createAndShowGUI() {
            //Make sure we have nice window decorations.
            JFrame.setDefaultLookAndFeelDecorated(true);
            //Create and set up the window.
            JFrame frame = new JFrame("About");
            frame.setDefaultCloseOperation(JFrame.EXIT_ON_CLOSE);
            //Create and set up the content pane.
            JComponent newContentPane = new TabbedAbout();
            newContentPane.setOpaque(true); //content panes must be opaque
            frame.getContentPane().add(new TabbedAbout(),
                                     BorderLayout.CENTER);
            //Display the window.
            frame.pack();
            frame.setVisible(true);
        public static void main(String[] args) {
            //Schedule a job for the event-dispatching thread:
            //creating and showing this application's GUI.
            javax.swing.SwingUtilities.invokeLater(new Runnable() {
                public void run() {
                    createAndShowGUI();
    }But independetly was working just fine. Excatly as I wanted
    Message was edited by:
    sickboy

  • Java.lang.OutOfMemoryError.Error is null

    Hi
    While deploying the adobe-livecycle-websphere.ear file iam getting the "java.lang.OutOfMemoryError.Error is null." Can you help in rectifying this error?
    We are Thinking that this error is because of heap size, if we are correct please do let us know how to increase the heap size.
    We kept Initial Heap Size box as 256 and the Maximum Heap Size box 1024.Also we tried with Maximum Heap Size box as 0(Zero) but we are getting the same error. Please Help us ....

    Do you have WebSphere 6.1 SP5 installed?
    What version do you get when you execute the command %JAVA_HOME%\bin\java -version?
    This is coming from the installation document:
    Installing WebSphere Application Server
    You must install WebSphere Application Server 6.1 for running LiveCycle ES products.
    When you run the LiveCycle ES installer, you should run it as the same user.
    Installing a Fix Pack to WebSphere 6.1
    After you have installed WebSphere 6.1, you must update to Fix Pack 5 or later before you deploy LiveCycle ES.
    Refer to the WebSphere support website for access to the WebSphere updates.
    Setting the JAVA_HOME and PATH environment variables
    As part of your WebSphere installation, a Java SDK was installed. The JAVA_HOME and PATH environment
    variables must point to the Java SDK where LiveCycle ES is to be deployed.
    ➤ To set the JAVA_HOME environment variable (Windows):
    1. Select Start > Control Panel > System.
    2. Click the Advanced tab.
    3. Click Environment Variables.
    4. In the System Variables area, click New.
    5. Enter JAVA_HOME as the variable name and enter the directory where you installed Java SDK. This directory is where WebSphere installed the Java SDK containing the /bin sub directory.
    For example,type the following:
    C:\Program Files\IBM\WebSphere\AppServer\java
    Note: To verify your JAVA_HOME environment variable, open a command prompt and run the following
    command: %JAVA_HOME%\bin\java -version
    You should receive a response that begins with java version "1.5.0".
    Jasmin

  • Java.lang.OutOfMemoryError without ResultSet

    Hi everyone,
    I am getting a java.lang.OutOfMemoryError when I call a Stored Procedure in Microsof SQL Server...
    This procedure reads lot of tables to process the data and insert in another table...The process is HUGE in the SQL Server....The SQL Server runs in another computer...
    Here are part of my java code:
         Connection conn = ResourceManager.getConnection();
         CallableStatement cs = conn.prepareCall("{call sp_FillLinks(?,?,?,?)}");
         cs.setString(1, banda);
         cs.setInt(2, spNtcId);
         cs.registerOutParameter(3, Types.INTEGER);
         cs.registerOutParameter(4, Types.INTEGER);
         cs.executeUpdate();
    You can see that there's not exists ResultSet occuping the virtual memory...
    But when i look at the Task Manager, the memory used by the java.exe process oscillates until to blow up the heap size that i have configured with -mx512m ...
    I tested it with two JDBC drivers (Microsof and UNA2000)....and the problem persists...
    Well, The question is ...Why the java are ocupping memory if the work is
    being made by the SQL Server ??...I searched the forums but dind't find the answer I need
    Thanks
    Juan

    Hi jschell...Thanks for replay..!!!
    Do you know how can I make that Stored procedure doesnt return ResultSets..??
    Or..What instruction in SQL return ResultSet...?
    Where can I find more about the relation betwen SQL and Java ResultSets..?
    For example in this StoreProcedure...I use :
    INSERTS ..
    UPDATES ..
    CURSORS .. (CREATE, OPEN, FETCH, CLOSE, DEALLOCATE )
    SELECT ..
    BUT ONLY IN THIS FORM:
         SELECT @DetLinkNSeqDet = NSeqDet,
    @DetLinkPesoStnDw = PesoStnDw
         FROM SpDetLinks
         WHERE      Banda = @Banda AND
              SpNtcId = @SpNtcId AND
              NSeqCab = @CabLinkNSeqCab AND
              StnNameDw = @StnNameDw

  • SIGNING IN TO THE JDC - java.lang.OutOfMemoryError

    Today when I try and sign in I keep getting: Exception java.lang.OutOfMemoryError: requested 164 bytes.
    I found a work-around and someone suggested I post a link to it here (I posted it in the Discuss the JDC Web Site forum) so here it is: http://forum.java.sun.com/thread.jsp?forum=10&thread=299468 (see reply 2)

    Thank, Lucke. Your work around works perfect.

  • Java.lang.error message after updating blackberry protect

    I took the update for Blackberry Protect today on my Blackberry Bold 9900 with OS 7.1.0.391 and now I get the java.lang.error message on re-boot. Anyone know what this is?
    I've tried uninstalling BB Protect and still get it, also tried re-installing it and message is still there.
    What is this error, how will it hinder-impact device and is there a way to fix it?
    Thanks in advance.

    Ok I figured this out
    1) alt lglg - this will show the entire event log
    2) click the blackberry key then select "options"
    what we want to do is basically see what application or applications in the event log is causing the error,
    In order to do that...
    3) Click the blackberry key again... Select "hide all types"
    Now we don't see anything in the event log, all the filters are unselected,
    Scroll down in the list till you find the "java exception" filter, click it... You will see a small menu , select "toggle filter"
    Now you will see exactly what application or applications is causing the java exception error :-)
    Mine was facebook, it could be anything you never know,
    Now.... Open up blackberry desktop , go to applications, remove the application or applications causing the error,
    Select Update
    Your device will now update then reboot, this might take over ten minutes, be patient
    This will work :-)

  • Java.lang.OutOfMemoryError (Microsoft SQL Server JDBC driver)

    Hi everyone,
    I am getting a java.lang.OutOfMemoryError when performing a simple query to a database. The query produces only one row (and will always produce only one row). However, the statement that produces the second column in the resultset is very long (>256) characters, so could that be it?
    Also, I am executing thousands of SQL statements with no difficulty. I have double-checked that I am cleaning up all of my database resources, so I don't think that this is it. Do I have to do anything else besides closing the statement and resultset?
    There is no stack trace, otherwise I would have posted it :(
    Also, as an aside - is the Microsoft JDBC driver for SQL Server the best one to use? It seems poorly supported and slow at times. Are there any alternatives?
    Thanks for your time :)
    Ben

    It is running after thousands of other queries. I'll test to see what happens if I run it by itself.
    I am closing the connection. In fact, I am running all of these statements over the same connection and simply opening and closing resultsets.
    So a bug in the driver you think?
    Thanks for the reply :)
    Ben

  • Java.lang.OutOfMemoryError: GC overhead limit exceeded

    We just installed Livecycle ES2 and we are getting the "java.lang.OutOfMemoryError: GC overhead limit exceeded" error when trying to deploy a new application.  We are running on a Windows 2008 64bit OS.  Any help to resolve this error (it is completely stalling out jboss) would be greatly appreciated!

    On redeployment this problem also occurs in windows machine and 32 bit, 64 bit machine alike? Maybe experts can tell why ?

  • Java.lang.OutOfMemoryError although enough free memory left

    hi there,
    i am facing a strange problem. i get a java.lang.OutOfMemoryError although my gc monitoring (wily introscope) shows that there is enough free memory left.
    so my question is what can lead to a java.lang.OutOfMemoryError. is it possible that a full generation space can lead to an OutOfMemory? I thought that in this case the garbarge collector would move live objects to the next generation?
    my settings are:
    - JVM 1.4.2
    -XX:NewSize=64m
    -XX:MaxNewSize=64m
    -XX:SurvivorRatio=12
    -Xms=1024m
    -Xmx=1024m

    Maybe you are running out of perm space?
    Try
    -XX:MaxPermSize=256m

  • Java.lang.OutOfMemoryError when editing a routing note for a Proxy Service?

    Hi,
    Does anyone know why I am getting a java.lang.OutOfMemoryError in the AqualLogic Service Bus logs which freezes the browser (IE) when I try to edit a route node of a proxy service? I can change the name of the node but when I try to edit the node itself, the interface freezes and the out of memory thrown by the Service Bus. I have tried restarting the server etc..... The java memory allocated should already be adequate as it is set to 512Mb. All I can think of doing next is to uninstall the Service Bus and reinstall.
    The logs I am getting can be seen below.....
    Welcome, weblogic Connected to : servicebus Home WLS Console Logout Help AskBEA
    weblogic session Created 9/01/08 13:46 No Conflicts 3 Change(s) 1 Active Session(s)
    The source of this error is com.bea.portlet.adapter.scopedcontent.ActionLookupFailedException: java.lang.OutOfMemoryError at com.bea.portlet.adapter.scopedcontent.ScopedContentCommonSupport.executeAction(ScopedContentCommonSupport.java:699) at com.bea.portlet.adapter.scopedcontent.ScopedContentCommonSupport.renderInternal(ScopedContentCommonSupport.java:268) at com.bea.portlet.adapter.scopedcontent.StrutsStubImpl.render(StrutsStubImpl.java:107) at com.bea.netuix.servlets.controls.content.NetuiContent.preRender(NetuiContent.java:288) at com.bea.netuix.nf.ControlLifecycle$6.visit(ControlLifecycle.java:427) at com.bea.netuix.nf.ControlTreeWalker.walkRecursivePreRender(ControlTreeWalker.java:708) at com.bea.netuix.nf.ControlTreeWalker.walkRecursivePreRender(ControlTreeWalker.java:720) at com.bea.netuix.nf.ControlTreeWalker.walkRecursivePreRender(ControlTreeWalker.java:720) at com.bea.netuix.nf.ControlTreeWalker.walkRecursivePreRender(ControlTreeWalker.java:720) at com.bea.netuix.nf.ControlTreeWalker.walkRecursivePreRender(ControlTreeWalker.java:720) at com.bea.netuix.nf.ControlTreeWalker.walkRecursivePreRender(ControlTreeWalker.java:720) at com.bea.netuix.nf.ControlTreeWalker.walkRecursivePreRender(ControlTreeWalker.java:720) at com.bea.netuix.nf.ControlTreeWalker.walkRecursivePreRender(ControlTreeWalker.java:720) at com.bea.netuix.nf.ControlTreeWalker.walkRecursivePreRender(ControlTreeWalker.java:720) at com.bea.netuix.nf.ControlTreeWalker.walkRecursivePreRender(ControlTreeWalker.java:720) at com.bea.netuix.nf.ControlTreeWalker.walkRecursivePreRender(ControlTreeWalker.java:720) at com.bea.netuix.nf.ControlTreeWalker.walkRecursivePreRender(ControlTreeWalker.java:720) at com.bea.netuix.nf.ControlTreeWalker.walkRecursivePreRender(ControlTreeWalker.java:720) at com.bea.netuix.nf.ControlTreeWalker.walkRecursivePreRender(ControlTreeWalker.java:720) at com.bea.netuix.nf.ControlTreeWalker.walkRecursivePreRender(ControlTreeWalker.java:720) at com.bea.netuix.nf.ControlTreeWalker.walkRecursivePreRender(ControlTreeWalker.java:720) at com.bea.netuix.nf.ControlTreeWalker.walkRecursivePreRender(ControlTreeWalker.java:720) at com.bea.netuix.nf.ControlTreeWalker.walkRecursivePreRender(ControlTreeWalker.java:720) at com.bea.netuix.nf.ControlTreeWalker.walkRecursivePreRender(ControlTreeWalker.java:720) at com.bea.netuix.nf.ControlTreeWalker.walkRecursivePreRender(ControlTreeWalker.java:720) at com.bea.netuix.nf.ControlTreeWalker.walkRecursivePreRender(ControlTreeWalker.java:720) at com.bea.netuix.nf.ControlTreeWalker.walkRecursivePreRender(ControlTreeWalker.java:720) at com.bea.netuix.nf.ControlTreeWalker.walkRecursivePreRender(ControlTreeWalker.java:720) at com.bea.netuix.nf.ControlTreeWalker.walk(ControlTreeWalker.java:183) at com.bea.netuix.nf.Lifecycle.processLifecycles(Lifecycle.java:361) at com.bea.netuix.nf.Lifecycle.processLifecycles(Lifecycle.java:339) at com.bea.netuix.nf.Lifecycle.runOutbound(Lifecycle.java:186) Caused by: java.lang.OutOfMemoryError
    Thanking you in advance for any help/insight.

    Okay, I fixed the "Incompatible initial and maximum heap sizes specified" issue now. The problem was that in the lh.bat script the parameter -Xmx128M was hardcoded and overwrote my own -Xmx setting.
    I now set JAVA_OPTS to "-Xms1400m -Xmx1400m" which is the maximum that Java accepts without complaining about too little memory. However, I still get the OutOfMemoryError and in addition to that I now also get this error:
    com.waveset.util.Shutdown: Sorry!  This repository has been shut down by an administrator.  Please try to get another instance.
    I've googled already but found only two sites and those weren't really helpful. So, any help is very much appreciated!
    Thanks,
    David

  • Large insert and java.lang.OutOfMemoryError

    Hello.
    I have an application that is trying to insert a large amount of data into the database (could be 200,000 rows). We are getting a java.lang.OutOfMemoryError in the process of doing the insert. The inserts are currently being done by looping over a Vector where each element in the Vector contains an id that is needed to do each insert. Actually, the Vector contains instances of DatabaseRow from a previous query done using "executingSelectingCall()". For each DatabaseRow in the Vector, a row is added to another table in the database:
    for(int i=0; i<trackingSelectRes.size(); i++)
    DatabaseRow dbRow = (DatabaseRow)trackingSelectRes.get(i);
                                  BigDecimal recordId = (BigDecimal)dbRow.get(PREMIUM_PK_IN_TMP_TABLE);
                                  trackingUpdateSql.setSQLString("INSERT INTO " + trackingTableName + " (" + PK_IN_TRACKING + ", " + PREMIUM_PK_IN_TRACKING + ", " + BMTID + ", " + RULEID + ", " + TIMESTAMP + ") " + "VALUES" +
                                                                          " ("+ TRACKING_PK_SEQ + ".nextval, " + recordId.longValue() + ", '" + rule.getBmtId().getBmtId() + "', '" + rule.getRuleId() + "', sysdate)");
                                  //System.out.println("TRACKING PREMIUM INSERT STATEMENT: " + trackingUpdateSql.getSQLString());
                                  session.executeNonSelectingCall(trackingUpdateSql);
    My first thought is to do a ReportQuery to get the ids that are needed to do the insert instead of loading all of the rows that contain the ids into memory. But, I'm also thinking that we are taking the incorrect approach to the problem. I looked at TopLink's batch writing, but I don't want to create objects for this data. Does TopLink have another way of doing a mass insert or would it be better to use a stored procedure?
    Thanks,
    Katie

    Thanks for your reply. I have another quick question? Could I get a UnitOfWork and call executeNonSelectingCall() with calls to commitAndResume() at a predetermined interval? Would that allow me to not have to commit every row?
    Thanks,
    Katie

  • WEBLOGIC - java.lang.OutOfMemoryError: Java heap space

    hi,
    i am using Weblogic 10.3 in production mode
    We are getting error " java.lang.OutOfMemoryError: Java heap space " frequently , and
    we are using the default args
    JAVA Memory arguments: -Xms256m -Xmx512m  -XX:MaxPermSize=512m
    OS - > Windows Server 2003
    please help
    Regards
    Jeethi George

    Hi George,
    The Setting you have provided is wrong ...that is the reason you are getting OutOfMemory in Heap.
    Your Setting is (As you have mentioned in your very first post): JAVA Memory arguments: -Xms256m -Xmx512m -XX:MaxPermSize=512m
    Just a Bit Explaination:
    Formula:
    (OS Level)Process Size = [ Java Heap   (+)   Native Space (+) (2-3% OS related Memory) ]
    PermSize : It's a Netive Memory Area Outside of the Heap, Where ClassLoading kind of things happens. In an operating System like Windows Default Process Size is 2GB (2048MB) default (It doesnt matter How much RAM do u have 2GB or 4GB or more)...until we dont change it by setting OS level parameter to increase the process size..Usually in OS like Solaris/Linux we get 4GB process size as well.
    Now Lets take the default Process Size=2GB (Windows), Now As you have set the -Xmx512M, we can assume that rest of the memory 1536 Mb is available for Native codes.
    (ProcessSize - HeapSize) = [Native (+)  (2-3% OS related Memory)]
    2048 MB - 512 MB = 1536 MB
    THUMB RULES:+
    MaxPermSize = (MaxHeapSize/3) ----Very Special Cases
    MaxPermSize = (MaxHeapSize/4) ----Recommended
    In your Case -Xmx and -XX:MaxPermSize bith are same ....That is the reason you are getting the OutOfMemory Error in Heap.
    We should increase/tune the MaxPermSize when we deploy a very large application (like a WebApplication which uses many JSPs, or PageFlows/Portal framework etc.) in our Server.
    What should be the exact setting of these parameters depends on the Environment /Applications etc...
    But Just try -Xmx1024m   -Xms1024m  -XX:MaxPermSize256m
    Another recommendation for fine tuning always keep (Xmx MaxHeapSize & Xms InitialHeapSize same).
    Thanks
    Jay SenSharma
    http://jaysensharma.wordpress.com (WebLogic Wonders Are Here)

  • Problems(java.lang.OutOfMemoryError)  Migrating from jdk1.3 to jdk1.4

    Hi,
    We are trying to migrate our application written using Swing EJB,JMS from jdk 1.3.1_06-b01 version to jdk1.4.1. With jdk1.3 everything works fine, but with jdk1.4, after the client is launched I get a java.lang.OutOfMemoryError, even for simple operation like seleting a node in the tree. We had set the initial heap size to 64m and max heap size to 150m. If I change the heap size to -Xms=96m an d-Xmx=256m the application works fine, but it hogs a lot of memory(nearly 210m for simple operations). Is there a memory issue with jdk1.4. If yes are there any possible workarounds?
    Any help would be appreciated.
    Thanks
    Dheeresh

    Don't use any memory settings, the memory will be allowed dynamically.
    Denis

Maybe you are looking for

  • IPad 3 safari wont work

    I just received my iPad today. Everything is good but only that my safari wont work... When I opened the safari app, it will show up the web but only the bar on the top and the rest are white. Also, the touch screen seen no functioning when that happ

  • Is there any way to get Session

    Hi All, Is there any way of getting the HttpSession object reference using sessionid? thanks in advance Raghu

  • Is a MAC code needed?

    Hi, I have signed up to switch from TalkTalk to BT with the instalation date being the 5th May and as yet have not been asked for a MAC code. Does this mean that a MAC code isn't needed or do BT leave it to the last possible moment to ask to to get o

  • Oci8 as a internal driver for Oracle

    Hello, Is there a way I can use a Java class that uses the oci8 driver inside the database?. I use the loadjava and once I run the stored procedure "mapped" to the java method, it says "no suitable driver", it seems oci8 is not used inside Oracle, I

  • XML Limit for Xcelsius Engage

    I just read on another thread (SP1 Limit Connections) and it stated that FP3 solved this issue.  Is this fact?  So, how many XML connections can you have with Engage?