forums.ps2dev.org Forum Index forums.ps2dev.org
Homebrew PS2, PSP & PS3 Development Discussions
 
 FAQFAQ   SearchSearch   MemberlistMemberlist   UsergroupsUsergroups   RegisterRegister 
 ProfileProfile   Log in to check your private messagesLog in to check your private messages   Log inLog in 

How much free kernel memory is there in-game?

 
Post new topic   Reply to topic    forums.ps2dev.org Forum Index -> PSP Development
View previous topic :: View next topic  
Author Message
Torch



Joined: 28 May 2008
Posts: 842

PostPosted: Sun Nov 16, 2008 1:44 am    Post subject: How much free kernel memory is there in-game? Reply with quote

I'm writing a plugin and I need to know how much kernel memory I can safely allocate during GAME mode?
Back to top
View user's profile Send private message
sauron_le_noir



Joined: 05 Jul 2008
Posts: 229

PostPosted: Mon Nov 17, 2008 5:20 am    Post subject: Reply with quote

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
View user's profile Send private message Send e-mail MSN Messenger
J.F.



Joined: 22 Feb 2004
Posts: 2906

PostPosted: Mon Nov 17, 2008 11:29 am    Post subject: Reply with quote

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
View user's profile Send private message AIM Address
Torch



Joined: 28 May 2008
Posts: 842

PostPosted: Mon Nov 17, 2008 11:31 am    Post subject: Reply with quote

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
View user's profile Send private message
Cpasjuste



Joined: 29 May 2005
Posts: 214

PostPosted: Mon Nov 17, 2008 7:13 pm    Post subject: Reply with quote

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
View user's profile Send private message
Torch



Joined: 28 May 2008
Posts: 842

PostPosted: Tue Nov 18, 2008 12:26 am    Post subject: Reply with quote

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
View user's profile Send private message
J.F.



Joined: 22 Feb 2004
Posts: 2906

PostPosted: Tue Nov 18, 2008 9:10 am    Post subject: Reply with quote

Torch wrote:
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?


Well, if you search on memory partitions, you find these threads:
http://forums.ps2dev.org/viewtopic.php?t=10589
http://forums.ps2dev.org/viewtopic.php?t=9820
http://forums.ps2dev.org/viewtopic.php?t=10703
Back to top
View user's profile Send private message AIM Address
Torch



Joined: 28 May 2008
Posts: 842

PostPosted: Tue Nov 18, 2008 6:54 pm    Post subject: Reply with quote

thanks. looks like there is around 380KB free.
Back to top
View user's profile Send private message
Display posts from previous:   
Post new topic   Reply to topic    forums.ps2dev.org Forum Index -> PSP Development All times are GMT + 10 Hours
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum


Powered by phpBB © 2001, 2005 phpBB Group