Opened 10 years ago

Closed 10 years ago

#472 closed defect (wontfix)

Bug in HazardCurveLocal

Reported by: dlind@… Owned by:
Priority: major Milestone:
Component: sha Version:
Keywords: HazardCurveLocal Cc:

Description

Steps to reproduce: (PLEASE FILL IN)

Other info: (PLEASE FILL IN)

Application: HazardCurveLocal?
Version: 1.3.1
Bulid Type: Development
Java Version: 1.7.0_60 (Oracle Corporation)
Operating System: Windows 8.1 (arch: x86, version: 6.3)

Exception:

java.lang.OutOfMemoryError: Java heap space
	at java.lang.StringCoding$StringDecoder.<init>(Unknown Source)
	at java.lang.StringCoding.decode(Unknown Source)
	at java.lang.String.<init>(Unknown Source)
	at java.util.jar.Manifest.parseName(Unknown Source)
	at java.util.jar.Manifest.read(Unknown Source)
	at java.util.jar.Manifest.<init>(Unknown Source)
	at java.util.jar.JarFile.getManifestFromReference(Unknown Source)
	at java.util.jar.JarFile.getManifest(Unknown Source)
	at sun.misc.URLClassPath$JarLoader$2.getManifest(Unknown Source)
	at java.net.URLClassLoader.defineClass(Unknown Source)
	at java.net.URLClassLoader.access$100(Unknown Source)
	at java.net.URLClassLoader$1.run(Unknown Source)
	at java.net.URLClassLoader$1.run(Unknown Source)
	at java.security.AccessController.doPrivileged(Native Method)
	at java.net.URLClassLoader.findClass(Unknown Source)
	at java.lang.ClassLoader.loadClass(Unknown Source)
	at sun.misc.Launcher$AppClassLoader.loadClass(Unknown Source)
	at java.lang.ClassLoader.loadClass(Unknown Source)
	at org.dom4j.tree.AbstractBranch.createResultList(AbstractBranch.java:373)
	at org.dom4j.tree.AbstractElement.elements(AbstractElement.java:352)
	at scratch.UCERF3.utils.FaultSystemIO.fsDataFromXML(FaultSystemIO.java:421)
	at scratch.UCERF3.utils.FaultSystemIO.loadRupSetAsApplicable(FaultSystemIO.java:

Change History (2)

comment:1 Changed 10 years ago by anonymous

Hi,

I get a bug warning when trying to run this. Is this a memory error? Is there a fix?

Thanks,

Dan Lind

comment:2 Changed 10 years ago by Kevin Milner

Resolution: wontfix
Status: newclosed

Hi Dan,

Yes that is a memory error. The UCERF3 ERFs use a ton of memory and you'll have to use a different launch file. Since you're using the nightly build, you can try this:

http://opensha.usc.edu/apps/opensha/HazardCurveLocal/nightly/HazardCurveLocal-medmem.jnlp

You will have to run it with 64-bit java though (it looks like you're using 32-bit right now).

We will try to come up with a better launching system in the future that allows users to select configurations based on their needs.

Kevin

Note: See TracTickets for help on using tickets.