Official eMule-Board: Emule V0.50A Free Minimum Diskspace Error - Official eMule-Board

Jump to content


Page 1 of 1

Emule V0.50A Free Minimum Diskspace Error Extended settings: Check diskspace error

#1 User is offline   Arismer 

  • Newbie
  • Pip
  • Group: Members
  • Posts: 1
  • Joined: 20-January 18

Posted 21 January 2018 - 01:08 AM

Hi,


I am using eMule v0.50a on:

OS Name Microsoft Windows 7 Professional
Version 6.1.7601 Service Pack 1 Build 7601
System Type x64-based PC
Processor Intel® Core™2 Quad CPU Q8300 @ 2.50GHz, 2497 Mhz, 4 Core(s), 4 Logical Processor(s)
Installed Physical Memory (RAM) 8.00 GB
HDD 415GB capacity with 40GB free diskspace


I checked the eMule official homepage and this eMule Project Forum board to see if anyone had reported this error that I am reporting and found no related reports.

Under Options --> Extended settings --> Check diskspace --> Min. free diskspace [MB] the user is able to specify how much diskspace is unuseable to eMule (i.e. 1000 = ~1GB) for downloads. When I set this to 4096 (i.e. 4GB) of remaining diskspace I received a dialog box stating: "Please enter a number between 0 and 4095".

I entered 4095, applied it, ok'd the Options box, proceeded to re-open the Options, clicked on "Open preferences.ini" box, searched the preferences.ini file for "MinFreeDiskSpace" and found the entry was NOT the expected 4095MB (i.e. 2^32 - 1,048,576 Bytes = 4,293,918,720 Bytes = 4GB-1MB) format, but a negative integer that did not represent 4095MB.

Long story shortened, I tested values until I discovered that I could only enter 2047MB (i.e. 2^31 - 1,048,576 Bytes = 2,146,435,072 Bytes = 2GB-1MB) for free diskspace. Changing the programming from a signed to an unsigned integer will probably fix this to the 4095MB capacity as stated. I would also suggest keeping format to same format. In Extended options it uses 0 - 4095MB and that the preference.ini use the same MB format and not Bytes for structure.

Whether true or not, it has been said that Windows platforms can/do act strange/erratic if diskspace runs below 1GB. If there are other reasons to keep a reserve of diskspace (technical as well as personal) then those might apply as well.

If I am mistaken then my apologies.

Thank you,
Arismer

0

#2 User is offline   fox88 

  • Golden eMule
  • PipPipPipPipPipPipPip
  • Group: Members
  • Posts: 4973
  • Joined: 13-May 07

Posted 21 January 2018 - 10:30 AM

View PostArismer, on 21 January 2018 - 04:08 AM, said:

how much diskspace is unuseable to eMule (i.e. 1000 = ~1GB) for downloads.

Calculations use 1024 constant, not 1000 (MiB was not very popular at the time of development).

View PostArismer, on 21 January 2018 - 04:08 AM, said:

but a negative integer that did not represent 4095MB.

External representation is irrelevant as long as the internal value is correct.

View PostArismer, on 21 January 2018 - 04:08 AM, said:

Changing the programming from a signed to an unsigned integer will probably fix this

Microsoft provided only signed integers for configuration files.

View PostArismer, on 21 January 2018 - 04:08 AM, said:

Whether true or not, it has been said that Windows platforms can/do act strange/erratic if diskspace runs below 1GB.

That applies to system disks; and sometimes Windows needed a lot more.
It is advisable to use non-system drive for downloads (Incoming and Temp directories).

This post has been edited by fox88: 21 January 2018 - 10:57 AM

0

  • Member Options

Page 1 of 1

1 User(s) are reading this topic
0 members, 1 guests, 0 anonymous users