Skip to content

Commit

Permalink
support for big plot files (>8.35TB)
Browse files Browse the repository at this point in the history
  • Loading branch information
JohnnyFFM committed May 29, 2018
1 parent 2b3782f commit 6be4084
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions MainForm.cs
Original file line number Diff line number Diff line change
Expand Up @@ -246,12 +246,12 @@ private void InitializeComponent()
0});
this.memoryLimit.Location = new System.Drawing.Point(750, 25);
this.memoryLimit.Maximum = new decimal(new int[] {
2000000000,
4096,
0,
0,
0});
this.memoryLimit.Minimum = new decimal(new int[] {
1,
96,
0,
0,
0});
Expand Down Expand Up @@ -630,7 +630,7 @@ private void button4_Click(object sender, EventArgs e)
private void Conversion(int[] index, string[] filename, int[] nonces)
{
// calc maximum nonces to read (limit)
int limit = Convert.ToInt32(memoryLimit.Value) * 8192;
int limit = Convert.ToInt32(memoryLimit.Value) * 8192 -1;
//loop all tasks
for (int i = 0; i < index.Length; i++)
{
Expand Down

0 comments on commit 6be4084

Please sign in to comment.