| View previous topic :: View next topic |
| Author |
Message |
mallchin
Joined: 16 Feb 2006 Posts: 36
|
Posted: Thu Feb 16, 2006 3:15 am Post subject: freespace |
|
|
| Is there any way to test for the amount of free space? |
|
| Back to top |
|
 |
youresam
Joined: 06 Nov 2005 Posts: 87
|
Posted: Thu Feb 16, 2006 10:12 am Post subject: |
|
|
Taken from the wiki:
Gets the available free memory. You can use it like this:
print("about " .. System.getFreeMemory() / 1024 / 1024 .. " megabytes free memory available") |
|
| Back to top |
|
 |
mallchin
Joined: 16 Feb 2006 Posts: 36
|
Posted: Thu Feb 16, 2006 10:30 am Post subject: |
|
|
| Thanks, I had assumed that was memory not disk space though? |
|
| Back to top |
|
 |
youresam
Joined: 06 Nov 2005 Posts: 87
|
Posted: Sat Feb 18, 2006 6:35 am Post subject: |
|
|
Its memorystick space...
However, its a bit inaccurate. |
|
| Back to top |
|
 |
mallchin
Joined: 16 Feb 2006 Posts: 36
|
Posted: Sun Feb 19, 2006 12:11 am Post subject: |
|
|
| Okay, thanks. I'll try it out. |
|
| Back to top |
|
 |
mallchin
Joined: 16 Feb 2006 Posts: 36
|
Posted: Tue Mar 07, 2006 1:12 am Post subject: |
|
|
I'd say this was memory not disk space. I have 128Mb free and it reports 17Mb, sounds reasonable given the 32Mb memory of the PSP.
What gives you the impression this isn't memory?
Is there a way to accurately guage the ammount of free disk space? |
|
| Back to top |
|
 |
matriculated
Joined: 04 Mar 2006 Posts: 31
|
Posted: Tue Mar 07, 2006 2:01 am Post subject: |
|
|
| Perhaps a request for it to be built into Lua Player is in order? |
|
| Back to top |
|
 |
mallchin
Joined: 16 Feb 2006 Posts: 36
|
Posted: Tue Mar 07, 2006 4:54 am Post subject: |
|
|
| I think so too. Another one to add to the list ;) |
|
| Back to top |
|
 |
matriculated
Joined: 04 Mar 2006 Posts: 31
|
Posted: Tue Mar 07, 2006 5:22 am Post subject: |
|
|
| May as well request MS Size, MS space left and MS space taken :P |
|
| Back to top |
|
 |
|