You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@harmony.apache.org by "Alexei Fedotov (JIRA)" <ji...@apache.org> on 2007/06/20 17:00:31 UTC
[jira] Created: (HARMONY-4252) [gc][app] cannot start FreeCol
application due low memory
[gc][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: DRLVM
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.
[jira] Updated: (HARMONY-4252) [drlvm][api][app] cannot start
FreeCol application due low memory
Posted by "Xiao-Feng Li (JIRA)" <ji...@apache.org>.
[ 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.
[jira] Commented: (HARMONY-4252) [drlvm][api][app] cannot start
FreeCol application
Posted by "Alexei Fedotov (JIRA)" <ji...@apache.org>.
[ https://issues.apache.org/jira/browse/HARMONY-4252?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12586178#action_12586178 ]
Alexei Fedotov commented on HARMONY-4252:
-----------------------------------------
I found a problem with modifiedUIDefaults.patch. put(uiClass, method) is invoked regardless of method existence in the table. Putting put right after getCreateUIMethodPriveledged(uiClass) would speed up the solution.
> [drlvm][api][app] cannot start FreeCol application
> --------------------------------------------------
>
> Key: HARMONY-4252
> URL: https://issues.apache.org/jira/browse/HARMONY-4252
> Project: Harmony
> Issue Type: Bug
> Components: Classlib
> Reporter: Alexei Fedotov
> Assignee: Tim Ellison
> Attachments: getUI.patch, modifiedUIDefaults.patch
>
>
> 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.
[jira] Commented: (HARMONY-4252) [drlvm][api][app] cannot start
FreeCol application
Posted by "Tim Ellison (JIRA)" <ji...@apache.org>.
[ https://issues.apache.org/jira/browse/HARMONY-4252?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12586166#action_12586166 ]
Tim Ellison commented on HARMONY-4252:
--------------------------------------
Awaiting ACQs
> [drlvm][api][app] cannot start FreeCol application
> --------------------------------------------------
>
> Key: HARMONY-4252
> URL: https://issues.apache.org/jira/browse/HARMONY-4252
> Project: Harmony
> Issue Type: Bug
> Components: Classlib
> Reporter: Alexei Fedotov
> Attachments: getUI.patch, modifiedUIDefaults.patch
>
>
> 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.
[jira] Commented: (HARMONY-4252) [drlvm][api][app] cannot start
FreeCol application
Posted by "Alexei Fedotov (JIRA)" <ji...@apache.org>.
[ https://issues.apache.org/jira/browse/HARMONY-4252?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12586432#action_12586432 ]
Alexei Fedotov commented on HARMONY-4252:
-----------------------------------------
Tharindu, is it ok with you if Tim commits Aleksey's patch?
> [drlvm][api][app] cannot start FreeCol application
> --------------------------------------------------
>
> Key: HARMONY-4252
> URL: https://issues.apache.org/jira/browse/HARMONY-4252
> Project: Harmony
> Issue Type: Bug
> Components: Classlib
> Reporter: Alexei Fedotov
> Assignee: Tim Ellison
> Attachments: getUI.patch, modifiedUIDefaults.patch
>
>
> 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.
[jira] Assigned: (HARMONY-4252) [drlvm][api][app] cannot start
FreeCol application
Posted by "Tim Ellison (JIRA)" <ji...@apache.org>.
[ https://issues.apache.org/jira/browse/HARMONY-4252?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Tim Ellison reassigned HARMONY-4252:
------------------------------------
Assignee: Tim Ellison
> [drlvm][api][app] cannot start FreeCol application
> --------------------------------------------------
>
> Key: HARMONY-4252
> URL: https://issues.apache.org/jira/browse/HARMONY-4252
> Project: Harmony
> Issue Type: Bug
> Components: Classlib
> Reporter: Alexei Fedotov
> Assignee: Tim Ellison
> Attachments: getUI.patch, modifiedUIDefaults.patch
>
>
> 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.
[jira] Commented: (HARMONY-4252) [drlvm][api][app] cannot start
FreeCol application
Posted by "Tim Ellison (JIRA)" <ji...@apache.org>.
[ https://issues.apache.org/jira/browse/HARMONY-4252?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12586425#action_12586425 ]
Tim Ellison commented on HARMONY-4252:
--------------------------------------
So what's the conclusion guys :-)
Are you going for "getUI.patch" or want to rewrite "modifiedUIDefaults.patch" ?
> [drlvm][api][app] cannot start FreeCol application
> --------------------------------------------------
>
> Key: HARMONY-4252
> URL: https://issues.apache.org/jira/browse/HARMONY-4252
> Project: Harmony
> Issue Type: Bug
> Components: Classlib
> Reporter: Alexei Fedotov
> Assignee: Tim Ellison
> Attachments: getUI.patch, modifiedUIDefaults.patch
>
>
> 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.
[jira] Commented: (HARMONY-4252) [drlvm][api][app] cannot start
FreeCol application
Posted by "Alexei Fedotov (JIRA)" <ji...@apache.org>.
[ https://issues.apache.org/jira/browse/HARMONY-4252?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12586118#action_12586118 ]
Alexei Fedotov commented on HARMONY-4252:
-----------------------------------------
Tharindu, that's great. Aleksey pointed me that his approach requires less checks in the typical case (when all is defined). From the other side is more readable IMHO. I believe a committer will choose one of two patches, this is not a big difference anyway.
> [drlvm][api][app] cannot start FreeCol application
> --------------------------------------------------
>
> Key: HARMONY-4252
> URL: https://issues.apache.org/jira/browse/HARMONY-4252
> Project: Harmony
> Issue Type: Bug
> Components: Classlib
> Reporter: Alexei Fedotov
> Attachments: getUI.patch, modifiedUIDefaults.patch
>
>
> 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.
[jira] Commented: (HARMONY-4252) [drlvm][api][app] cannot start
FreeCol application
Posted by "Aleksey Lagoshin (JIRA)" <ji...@apache.org>.
[ https://issues.apache.org/jira/browse/HARMONY-4252?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12585862#action_12585862 ]
Aleksey Lagoshin commented on HARMONY-4252:
-------------------------------------------
It seems that was the last exception and now FreeCol is able to start on Harmony. But only in windowed mode.
So to start FreeCol use this:
java -Xmx256m -Xms256m -jar FreeCol.jar --windowed
But unfortunately FreeCol is not playable: some modal dialogs don't respond to keyboard and mouse, so it's impossible to close them.
Also there are still many small bugs in UI and problem with performance.
> [drlvm][api][app] cannot start FreeCol application
> --------------------------------------------------
>
> Key: HARMONY-4252
> URL: https://issues.apache.org/jira/browse/HARMONY-4252
> Project: Harmony
> Issue Type: Bug
> Components: Classlib
> Reporter: Alexei Fedotov
> Attachments: getUI.patch
>
>
> 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.
[jira] Updated: (HARMONY-4252) [drlvm][gc_gen][app] cannot start
FreeCol application due low memory
Posted by "Alexei Fedotov (JIRA)" <ji...@apache.org>.
[ https://issues.apache.org/jira/browse/HARMONY-4252?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Alexei Fedotov updated HARMONY-4252:
------------------------------------
Summary: [drlvm][gc_gen][app] cannot start FreeCol application due low memory (was: [gc][app] cannot start FreeCol application due low memory)
> [drlvm][gc_gen][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: DRLVM
> 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.
[jira] Commented: (HARMONY-4252) [drlvm][api][app] cannot start
FreeCol application
Posted by "Alexei Fedotov (JIRA)" <ji...@apache.org>.
[ https://issues.apache.org/jira/browse/HARMONY-4252?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12574499#action_12574499 ]
Alexei Fedotov commented on HARMONY-4252:
-----------------------------------------
A good workaround, thanks. Incompatible behavior of the stack size option may be another issue, but of less priority than AWT one.
> [drlvm][api][app] cannot start FreeCol application
> --------------------------------------------------
>
> 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.
[jira] Commented: (HARMONY-4252) [drlvm][api][app] cannot start
FreeCol application
Posted by "Alexei Fedotov (JIRA)" <ji...@apache.org>.
[ https://issues.apache.org/jira/browse/HARMONY-4252?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12581630#action_12581630 ]
Alexei Fedotov commented on HARMONY-4252:
-----------------------------------------
Xiao Feng's exceptions is fixed by HARMONY-5643. Here is the next error:
ERROR: UIDefaults.getUI() failed: java.lang.NullPointerException
at javax.swing.UIDefaults.getUI(UIDefaults.java:339)
at javax.swing.UIManager.getUI(UIManager.java:222)
at javax.swing.JPanel.updateUI(JPanel.java:141)
at javax.swing.JPanel.<init>(JPanel.java:56)
at javax.swing.JPanel.<init>(JPanel.java:76)
at javax.swing.JRootPane.createGlassPane(JRootPane.java:278)
at javax.swing.JRootPane.<init>(JRootPane.java:78)
at javax.swing.JFrame.createRootPane(JFrame.java:175)
at javax.swing.JFrame.frameInit(JFrame.java:393)
at javax.swing.JFrame.<init>(JFrame.java:123)
at net.sf.freecol.client.gui.FullScreenFrame.<init>(FullScreenFrame.java:34)
at net.sf.freecol.client.FreeColClient.startGUI(FreeColClient.java:218)
at net.sf.freecol.client.FreeColClient.access$000(FreeColClient.java:31)
at net.sf.freecol.client.FreeColClient$1.run(FreeColClient.java:142)
at java.awt.event.InvocationEvent.runAndNotify(InvocationEvent.java:90)
at java.awt.event.InvocationEvent.dispatch(InvocationEvent.java:78)
at java.awt.EventQueueCore.dispatchEventImpl(EventQueueCore.java:138)
at java.awt.EventQueue.dispatchEvent(EventQueue.java:144)
at java.awt.EventDispatchThread.runModalLoop(EventDispatchThread.java:74)
at java.awt.EventDispatchThread.run(EventDispatchThread.java:48)
> [drlvm][api][app] cannot start FreeCol application
> --------------------------------------------------
>
> 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.
[jira] Updated: (HARMONY-4252) [drlvm][api][app] cannot start
FreeCol application
Posted by "Aleksey Lagoshin (JIRA)" <ji...@apache.org>.
[ https://issues.apache.org/jira/browse/HARMONY-4252?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Aleksey Lagoshin updated HARMONY-4252:
--------------------------------------
Attachment: getUI.patch
Patch for UIDefaults.getUI() failed: java.lang.NullPointerException
> [drlvm][api][app] cannot start FreeCol application
> --------------------------------------------------
>
> Key: HARMONY-4252
> URL: https://issues.apache.org/jira/browse/HARMONY-4252
> Project: Harmony
> Issue Type: Bug
> Components: Classlib
> Reporter: Alexei Fedotov
> Attachments: getUI.patch
>
>
> 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.
[jira] Assigned: (HARMONY-4252) [drlvm][gc_gen][app] cannot start
FreeCol application due low memory
Posted by "Xiao-Feng Li (JIRA)" <ji...@apache.org>.
[ https://issues.apache.org/jira/browse/HARMONY-4252?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Xiao-Feng Li reassigned HARMONY-4252:
-------------------------------------
Assignee: Xiao-Feng Li
> [drlvm][gc_gen][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: DRLVM
> Reporter: Alexei Fedotov
> Assignee: Xiao-Feng Li
>
> 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.
[jira] Updated: (HARMONY-4252) [drlvm][api][app] cannot start
FreeCol application
Posted by "Tharindu Mathew (JIRA)" <ji...@apache.org>.
[ https://issues.apache.org/jira/browse/HARMONY-4252?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Tharindu Mathew updated HARMONY-4252:
-------------------------------------
Attachment: modifiedUIDefaults.patch
Cleaned the code of the patch
> [drlvm][api][app] cannot start FreeCol application
> --------------------------------------------------
>
> Key: HARMONY-4252
> URL: https://issues.apache.org/jira/browse/HARMONY-4252
> Project: Harmony
> Issue Type: Bug
> Components: Classlib
> Reporter: Alexei Fedotov
> Attachments: getUI.patch, modifiedUIDefaults.patch
>
>
> 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.
[jira] Updated: (HARMONY-4252) [drlvm][api][app] cannot start
FreeCol application
Posted by "Xiao-Feng Li (JIRA)" <ji...@apache.org>.
[ https://issues.apache.org/jira/browse/HARMONY-4252?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Xiao-Feng Li updated HARMONY-4252:
----------------------------------
Summary: [drlvm][api][app] cannot start FreeCol application (was: [drlvm][api][app] cannot start FreeCol application due low memory)
> [drlvm][api][app] cannot start FreeCol application
> --------------------------------------------------
>
> 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.