You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@harmony.apache.org by "Xiao-Feng Li (JIRA)" <ji...@apache.org> on 2008/01/17 07:06:37 UTC

[jira] Updated: (HARMONY-4252) [drlvm][api][app] cannot start FreeCol application due low memory

     [ https://issues.apache.org/jira/browse/HARMONY-4252?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Xiao-Feng Li updated HARMONY-4252:
----------------------------------

    Component/s:     (was: DRLVM)
                 Classlib
    Description: 
I've unpacked http://dfn.dl.sourceforge.net/sourceforge/freecol/freecol-0.6.1.zip and launched the application. On RI the application starts with a defaut heap. On Harmony I got an error message.

$ cd c:/tmp/freecol/freecol
$ $HY_HOME/bin/java -Xmx512M -jar FreeCol.jar
You need to assign more memory to the JVM. Restart FreeCol with:
java -Xmx128M -jar FreeCol.jar




  was:
I've unpacked http://dfn.dl.sourceforge.net/sourceforge/freecol/freecol-0.6.1.zip and launched the application. On RI the application starts with a defaut heap. On Harmony I got an error message.

$ cd c:/tmp/freecol/freecol
$ $HY_HOME/bin/java -Xmx512M -jar FreeCol.jar
You need to assign more memory to the JVM. Restart FreeCol with:
java -Xmx128M -jar FreeCol.jar



       Assignee:     (was: Xiao-Feng Li)
        Summary: [drlvm][api][app] cannot start FreeCol application due low memory  (was: [drlvm][gc_gen][app] cannot start FreeCol application due low memory)

When I used:

drlvm/java.exe -Xmx256m -Xms256m -jar FreeCol.jar

It says:
Uncaught exception in main:
java.lang.reflect.InvocationTargetException
        at java.lang.reflect.VMReflection.invokeMethod(VMReflection.java)
        at java.lang.reflect.Method.invoke(Method.java:317)
        at org.apache.harmony.vm.JarRunner.main(JarRunner.java:89)
Caused by: java.lang.NullPointerException
        at java.awt.image.ColorConvertOp.createCompatibleDestImage(ColorConvertO
p.java:415)
        at java.awt.image.ColorConvertOp.filter(ColorConvertOp.java:448)
        at net.sf.freecol.client.gui.ImageLibrary.convertToGrayscale(ImageLibrar
y.java:830)
        at net.sf.freecol.client.gui.ImageLibrary.loadUnits(ImageLibrary.java:30
7)
        at net.sf.freecol.client.gui.ImageLibrary.init(ImageLibrary.java:242)
        at net.sf.freecol.client.gui.ImageLibrary.<init>(ImageLibrary.java:218)
        at net.sf.freecol.FreeCol.main(FreeCol.java:198)
        at java.lang.reflect.VMReflection.invokeMethod(VMReflection.java)
        ... 2 more


> [drlvm][api][app] cannot start FreeCol application due low memory
> -----------------------------------------------------------------
>
>                 Key: HARMONY-4252
>                 URL: https://issues.apache.org/jira/browse/HARMONY-4252
>             Project: Harmony
>          Issue Type: Bug
>          Components: Classlib
>            Reporter: Alexei Fedotov
>
> I've unpacked http://dfn.dl.sourceforge.net/sourceforge/freecol/freecol-0.6.1.zip and launched the application. On RI the application starts with a defaut heap. On Harmony I got an error message.
> $ cd c:/tmp/freecol/freecol
> $ $HY_HOME/bin/java -Xmx512M -jar FreeCol.jar
> You need to assign more memory to the JVM. Restart FreeCol with:
> java -Xmx128M -jar FreeCol.jar

-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.