Explanation of invalid argument -Xmx512m in error log
Each time I run MoneyDance under Ubuntu the message "invalid argument -Xmx512m" gets posted as the only line in the error log. I have detected no problems whatsoever with the program. I'm quite happy with it. I'm curious about the invalid argument however and wonder if I should be concerned. I'd appreciate any enlightenment. I'm running MoneyDance 2008r4 (640) under Ubuntu 8.04.
Comments are currently closed for this discussion. You can start a new one.
Keyboard shortcuts
Generic
? | Show this help |
---|---|
ESC | Blurs the current field |
Comment Form
r | Focus the comment reply box |
---|---|
^ + ↩ | Submit the comment |
You can use Command ⌘
instead of Control ^
on Mac
1 Posted by Raimund Buchhol... on 16 Jul, 2009 10:11 PM
Hi,
what JRE are you using?
The java argument -Xmx512m normally helps to resolve unpredictable problems as it enables more heap memory than with standard setting. I've found that esp. Sun JAVA exposes some problems when creating/showing graphs and there is not enough heap memory.
Raimund
2 Posted by Robert Trent on 17 Jul, 2009 01:18 AM
Sun JRE6 Runtime, version 6-14-0ubuntu1.8.04 (and thanx for asking! :o)
3 Posted by Raimund Buchhol... on 17 Jul, 2009 04:59 AM
Hello Robert,
thats quite interesting, as I use Ubuntu Gutsy (7.10) with Hardy's SUN Java (build 1.6.0_11-b03) and I don't see the mentioned error in the logfile.
Try "java -X" on a commandline to see if this non standard argument is still supported; Btw. are you sure the mentioned runtime is used as default and not Sun JRE 1.5 or OpenJava?
You may check that taking a look into MD's menu point "help" or again on commandline with "java -version"
But as long as you don't have any problems displaying graphs you may ignore the error message.
Raimund
4 Posted by Robert Trent on 17 Jul, 2009 01:46 PM
MD help tells me "Java Version: 1.6.0_05
"Java Vendor: Sun Microsystems Inc."
java -X reveals: "-Xms<size> set initial Java heap size"
I have 2G of memory installed on my laptop. Perhaps 512m is too large
or maybe I should upgrade Java. Every feature of MD, including graphs,
seems to be working fine. In fact, I've decided that should Quicken
release a Linux version, I would not go back. MD works great for me,
especially since I can export reports to a .csv file and do whatever I
please with the data. But I appreciate any comments you may have about
the "invalid argument!"
5 Posted by Ben Spencer on 17 Jul, 2009 08:47 PM
Hi
I was getting the same message in the error.log on my ubuntu machine and so I checked in with the developer. He thinks it means that the parameter to set the maximum heap limit in the java VM wasn't recognised. It may have been passed incorrectly by the start up script, or maybe the JVM doesn't support that format. Either way its nothing to worry about and the developer has put it on his task list to fix it.
Sincerely
Ben Spencer
6 Posted by Robert Trent on 17 Jul, 2009 09:10 PM
Thanks much! I'll sleep better now.
7 Posted by dazzacon on 11 Aug, 2009 02:14 AM
Hi all,
I am getting a similar error in the error log when I start Moneydance (640) on a Windows XP Pro machine. For me however, Moneydance wont even start. I the initial banner but nothing further happens...
Is this the Java heap memory issues people have been mentioning?
How can I fix it?
Cheers,
PS: The exact error I get is: -Xmx1024m
8 Posted by Raimund Buchhol... on 11 Aug, 2009 08:51 PM
Sounds more like the problem with MD closed while minimized...
I believe Moneydance starts up and is running - you just need to select it's window list entry and use RMB+Maximize to get MD back visible...
Raimund Buchholz closed this discussion on 01 Feb, 2010 11:01 PM.