Toto diskuzní fórum je „odborně – technické“ a je zaměřeno k diskuzi o navigačních programech IGO. V tomto diskuzním fóru nenajdete nelegální software či mapy, ani odkazy které by k nim směřovaly. |
|
hladik2 píše:docela by mne zajímalo jak píše Ivo k,jaký script by se měl použít na alokaci paměti,na D4 igo8 jede s out of memory,origo soft bez problémů a primo jede také bez chyby.![]()
![]()
9.14.2 Check free space (FreeDiskSpace)
int = FreeDiskSpace( directory [, unit] )
Returns the free disk space in the given directory. By default, it's in bytes, you can specify another unit by passing BYTES, KB, MB, or GB as unit parameter (constants, i.e. without quotes). The maximum return value is 2147483147, which is about 2GB for size in bytes, 2TB for KB, etc.
On Windows Mobile devices, the directory (e.g. “\Storage“ for the storage card), on PCs the drive letter (“D:\...”) is regarded.
SetSystemMemoryDivisionKB.exe: Sets how much memory to allocate to the system drive (where \Windows is). The rest will be used as RAM for apps.
Usage: SetSystemMemoryDivisionKB.exe <Size_in_Kilobytes>
Example: SetSystemMemoryDivisionKB.exe 2048
MortScript example: Run(ProgramsFolder\"TroNik\SetSystemMemoryDivisionKB.exe", 2048)
If(FreeDiskSpace("\", KB) < 150)
Run(ProgramsFolder\"TroNik\SetSystemMemoryDivisionKB.exe", TotalDiskSpace("\", KB)+150)
EndIf
Zpět na GOCLEVER - specifické postupy
Uživatelé procházející toto fórum: Žádní registrovaní uživatelé a 2 návštevníků