4 Replies Latest reply on May 28, 2007 2:09 PM by puh

    Javaheapspace

    puh

      Hello!

      I´m using the suggestionBox with a database and Tomcat 6. The database is very big and I sometimes get a javaheapecxeption and the programm is a bit slow. Do someone know what do to to solve the problem?

        • 1. Re: Javaheapspace
          amitev

          Limit the retrieved records from the database?

          • 2. Re: Javaheapspace
            puh

            I have already limited the retrieved records from the database and I don´t get a java heap exception any more, but I have to wait a long time until the results appear in the suggestionBox.

            • 3. Re: Javaheapspace
              amitev

              So the delay is from the persistence layer?

              • 4. Re: Javaheapspace
                puh

                I think that the memory setting is regulated too low. I´m working with Tomcat 6 and I now want to increase the memory in the catalina.bat or catalina.sh.
                It works fine, when I limit the database output.