Open GoogleCodeExporter opened 9 years ago
same here... got a 3.6gb combatlog...
System.ArgumentOutOfRangeException: Value of '-645667023' is not valid for
'Maximum'.
'Maximum' must be greater than or equal to 0.
Parameter name: Maximum
Original comment by anpr...@gmail.com
on 8 Dec 2009 at 12:15
i think the problem can be found in line 100, Form1.cs:
>> prg_parse.Maximum = (int)fs_olog.Length;
this line sets the maximum value for the progress bar to the file size of the
log
file... any value above 2.147.483.647 (aka 2gb) will cause the app to crash.
Original comment by anpr...@gmail.com
on 8 Dec 2009 at 12:32
last night, i did need this badly, so i downloaded SharpDevelop, and changed
the
Form1.cs:
line 100: prg_parse.Maximum = (int) (fs_olog.Length / 1024);
line 200: prg_parse.Value = (int) (sr_olog.BaseStream.Position / 1024);
so that now, the progress bar uses kilobytes instead of bytes... this should
give us
headroom till the 2TB mark :)
To get it compiled, i also had to change SignManifests in the .csproj file to
false... but i guess this is due to some limitation in SharpDevelop.
Original comment by anpr...@gmail.com
on 14 Dec 2009 at 9:34
Attachments:
Same issue here. Over 2gb log file :/
Original comment by dekim...@gmail.com
on 28 Jan 2011 at 1:56
Well the problem occurs because the max value of the progressbar isn't set
Correctly!
Original comment by gehannf
on 4 Oct 2012 at 9:21
Original issue reported on code.google.com by
kclem...@gmail.com
on 23 Sep 2009 at 4:15