| View previous topic :: View next topic |
| Author |
Message |
Torch

Joined: 28 May 2008 Posts: 842
|
Posted: Sun Nov 16, 2008 1:44 am Post subject: How much free kernel memory is there in-game? |
|
|
| I'm writing a plugin and I need to know how much kernel memory I can safely allocate during GAME mode? |
|
| Back to top |
|
 |
sauron_le_noir
Joined: 05 Jul 2008 Posts: 229
|
Posted: Mon Nov 17, 2008 5:20 am Post subject: |
|
|
i think the API sceKernelPartitionTotalFreeMemSize can return the total amount of free memory of a partition.
From psplink the memoryUID.c s source contains howto explore the memory tree of the psp and to look at several attributes |
|
| Back to top |
|
 |
J.F.
Joined: 22 Feb 2004 Posts: 2906
|
Posted: Mon Nov 17, 2008 11:29 am Post subject: |
|
|
| Remember that this value will vary greatly as some people use more plugins than others. One person may have no plugins, leaving all the memory free, while others may have as many plugins running as they can, leaving almost nothing free. |
|
| Back to top |
|
 |
Torch

Joined: 28 May 2008 Posts: 842
|
Posted: Mon Nov 17, 2008 11:31 am Post subject: |
|
|
| J.F. wrote: | | Remember that this value will vary greatly as some people use more plugins than others. One person may have no plugins, leaving all the memory free, while others may have as many plugins running as they can, leaving almost nothing free. |
But whats the default free memory without any plugins? |
|
| Back to top |
|
 |
Cpasjuste
Joined: 29 May 2005 Posts: 214
|
Posted: Mon Nov 17, 2008 7:13 pm Post subject: |
|
|
| sauron_le_noir wrote: | i think the API sceKernelPartitionTotalFreeMemSize can return the total amount of free memory of a partition.
From psplink the memoryUID.c s source contains howto explore the memory tree of the psp and to look at several attributes |
|
|
| Back to top |
|
 |
Torch

Joined: 28 May 2008 Posts: 842
|
Posted: Tue Nov 18, 2008 12:26 am Post subject: |
|
|
| Cpasjuste wrote: | | sauron_le_noir wrote: | i think the API sceKernelPartitionTotalFreeMemSize can return the total amount of free memory of a partition.
From psplink the memoryUID.c s source contains howto explore the memory tree of the psp and to look at several attributes |
| i know. but idont want to write a program cos someone probably knows offhand. idont have access to my dev.pc for a few days as well. i was thinking about something and was wondering if it was feasable. |
|
| Back to top |
|
 |
J.F.
Joined: 22 Feb 2004 Posts: 2906
|
|
| Back to top |
|
 |
Torch

Joined: 28 May 2008 Posts: 842
|
Posted: Tue Nov 18, 2008 6:54 pm Post subject: |
|
|
| thanks. looks like there is around 380KB free. |
|
| Back to top |
|
 |
|