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
If you would like to refer to this comment somewhere else in this project, copy and paste the following link:
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.
If you would like to refer to this comment somewhere else in this project, copy and paste the following link:
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
Sorry wrong topic.
Moved it to Help.
Please respond there...
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
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!
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
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.