harmony-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Xiao-Feng Li (JIRA)" <j...@apache.org>
Subject [jira] Updated: (HARMONY-4252) [drlvm][api][app] cannot start FreeCol application due low memory
Date Thu, 17 Jan 2008 06:06:37 GMT

     [ 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.


Mime
View raw message