Menu

Cannot start up - Memory problem

Edwin
2010-04-26
2012-10-08
  • Edwin

    Edwin - 2010-04-26

    Hi,

    I'm very happy with web-harvest.

    But it is not working anymore. It just will not start.

    I worked with it yesterday and today... nothing.

    Commandline starting gives teh following error:

    Exception in thread "AWT-EventQueue-0" java.lang.OutOfMemoryError: Java heap
    spa

    ce

    at org.webharvest.gui.Settings.readString(Unknown Source)

    at org.webharvest.gui.Settings.readObject(Unknown Source)

    at org.webharvest.gui.Settings.readFromFile(Unknown Source)

    at org.webharvest.gui.Settings.<init>(Unknown Source)

    at org.webharvest.gui.Ide.<init>(Unknown Source)

    at CommandLine$1.run(Unknown Source)

    at java.awt.event.InvocationEvent.dispatch(Unknown Source)

    at java.awt.EventQueue.dispatchEvent(Unknown Source)

    at java.awt.EventDispatchThread.pumpOneEventForFilters(Unknown Source)

    at java.awt.EventDispatchThread.pumpEventsForFilter(Unknown Source)

    at java.awt.EventDispatchThread.pumpEventsForHierarchy(Unknown Source)

    at java.awt.EventDispatchThread.pumpEvents(Unknown Source)

    at java.awt.EventDispatchThread.pumpEvents(Unknown Source)

    at java.awt.EventDispatchThread.run(Unknown Source)

    I also tried setting a greater heap size.

    java -Xms256m -Xmx600m -XX:PermSize=256m -XX:MaxPermSize=256m -jar
    webharvest_all_2.jar

    I reinstalled JVM, why not...

    No result.

    Any thoughts....?

    Edzet

     
  • Edwin

    Edwin - 2010-04-26

    Sorry wrong topic.

    Moved it to Help.

    Please respond there...

     
  • newbee

    newbee - 2010-04-27

    Looks like something is wrong with webharvest.config.

    Check if you have the following system property defined:

    java.io.tmpdir

    If not just search for this file and remove it.

    Hope that helps

     
  • Edwin

    Edwin - 2010-04-27

    Hello Nakoned,

    Thank you, it solved the problem!

    I found the jaca.io.tmp directory with:


    import java.util.*;

    public class LookUp {

    public static void main(String args) {

    Properties pr = System.getProperties();

    TreeSet propKeys = new TreeSet(pr.keySet()); // TreeSet sorts keys

    for (Iterator it = propKeys.iterator(); it.hasNext(); ) {

    String key = (String)it.next();

    System.out.print("" + key + "=" + pr.get(key) + "\n");

    }

    }

    }


    In case sombody else needs it....

    Tnx again!

     
  • Georg Stein

    Georg Stein - 2010-05-03

    Hello,

    i have the same problem. All worked fine on 3 systems the the problem began
    with the windows problems and so i had to use the webharverster on a linux
    x-console, and now today this will also work anymore. i get the heap space
    error.

    i read this thread, but because of my poor system knowlegde i dont' understand
    what i have to do to solve it.

    can somebody plaese explain me what i have to do (where i can find the
    property etc)

    with regards Georg

     
  • Armen Babakanian

    Yes, copy paste this code in a java class file and run it. It will display
    where is your java.io.tmpdir folder, so go there and delete the files. Or do a
    windows Disk Cleanup it might work.

     

Log in to post a comment.