Java error when loading large .xls file

Questions specific to Megalogviewer

Moderator: LT401Vette

Post Reply
turbodudey
MS/Extra Newbie
Posts: 21
Joined: Sat Jul 01, 2006 2:20 pm

Java error when loading large .xls file

Post by turbodudey »

When I try to open the logfile this message comes up:

Image

It was a rather large datalog that I was trying to open. I was probably logging for over an hour. There was some really good stuff in that log though that I wanted to look at.

It says to "start application with memory parameters", but I'm not sure what exactly that means. (i'm not much of a java programmer)

Anyone seen this before, or know what in means?
Last edited by turbodudey on Fri Dec 15, 2006 9:29 pm, edited 1 time in total.
~Dudeck
LT401Vette
Super MS/Extra'er
Posts: 12733
Joined: Sat Jul 16, 2005 8:07 am
Location: Moorseville, NC
Contact:

Post by LT401Vette »

Actually that is not a Java error. I throw that on purpose just before you are about to get an Error. ou pretty much need to do what it says, or:
Download StartForBigFiles.zip from:
http://www.ideasandsolutions.biz/MegaLo ... Utilities/

take the bat file in side, copy it to your install dir. Usually c:\Program Files\Megasquirt\MegaLogViewer

Then double click it to start. Then you shouldn't get a memory error.

I have considered putting in a 2nd executable with these parameters, or more memory yet. By default I leave it using as little memory as possible for the old tuner laptops.
Phil Tobin
EFI Analytics, helping to simplify EFI
Next Generation tuning software.
Supporting all MegaSquirt versions and firmwares.
http://www.TunerStudio.com
http://www.efiAnalytics.com/MegaLogViewer/
Support the firmware running your engine:
http://www.msextra.com/doc/donations.html
turbodudey
MS/Extra Newbie
Posts: 21
Joined: Sat Jul 01, 2006 2:20 pm

Post by turbodudey »

Awsome! The batch file for big files worked. Now that I see what the batch file did I understand what that error was saying.

Thanks alot.

By the way, I love the MegaLogViewer. I use it all the time. Image
~Dudeck
LT401Vette
Super MS/Extra'er
Posts: 12733
Joined: Sat Jul 16, 2005 8:07 am
Location: Moorseville, NC
Contact:

Post by LT401Vette »

Now you have me thinking..
MLV already checks your processor performance, you can see your "Processor Score" by looking in the "Help -> about" dialog.
I am thinking I should change the startup command based on that score. That score is really based on processor more than memory, but I think it is probably safe to assume that if you have a ~1.5 GHz+ procressor, you probably have at least 512Mb + memory.

My work laptop gets a Processor score of about 30,000 with a 1.6 GHz and 2 Gb RAM
My home desktop gets 160,000 with a Core Duo 6300 @ 2.27 GHz and 2 Gb Ram

So the startup command in the batch file would be fine and let you load files over an hour easy enough. Heck by doubling the parameters in the batch I have loaded files 3-4 hours long.

In the end that is really sort of a bandaid. I really need to make MLV not dependent on all data in memory. It just hasn't presented enough trouble.
Phil Tobin
EFI Analytics, helping to simplify EFI
Next Generation tuning software.
Supporting all MegaSquirt versions and firmwares.
http://www.TunerStudio.com
http://www.efiAnalytics.com/MegaLogViewer/
Support the firmware running your engine:
http://www.msextra.com/doc/donations.html
Post Reply