| View previous topic :: View next topic |
| Author |
Message |
ne0h
Joined: 21 Feb 2008 Posts: 386
|
Posted: Fri Dec 18, 2009 2:20 am Post subject: [SOLVED] User prx stack limit? |
|
|
That's a limit for user prx stack size??
That's the code:
| Code: | | SceUID thid = sceKernelCreateThread("ABCThread", XguiManager, 0x17, 2 * 1024, 0, NULL); |
I ever get 0x80020190 ( no memory ), why??
There's enough user memory... _________________ Get Xplora!
Last edited by ne0h on Fri Dec 18, 2009 4:15 am; edited 1 time in total |
|
| Back to top |
|
 |
ne0h
Joined: 21 Feb 2008 Posts: 386
|
Posted: Fri Dec 18, 2009 4:07 am Post subject: |
|
|
Nevermind....
Found the problem and it's not related to this... _________________ Get Xplora! |
|
| Back to top |
|
 |
carl0sgs
Joined: 10 Dec 2009 Posts: 41
|
Posted: Fri Dec 18, 2009 7:44 am Post subject: |
|
|
I think I have exactly the same problem :-S
Can you explain me how to fix it?
Thank you :-) |
|
| Back to top |
|
 |
ne0h
Joined: 21 Feb 2008 Posts: 386
|
Posted: Sat Dec 19, 2009 1:50 am Post subject: |
|
|
The problem ( I think ) is that I was creating the thread with calling an exported function, and that module has no enough memory to allocate thread stack...
I haven't really resolved the problem,
I've bypassed it by calling CreateThread on module start.
Sorry for my bad english,
ne0h _________________ Get Xplora! |
|
| Back to top |
|
 |
carl0sgs
Joined: 10 Dec 2009 Posts: 41
|
Posted: Sat Dec 19, 2009 3:34 am Post subject: |
|
|
Don't worry about your english, it is good! ;-)
(Im spanish lol)
I have a similar problem with the memory in MultiTasKing, the function malloc() does something strange and the free memory becomes 0 :-S
If you find a solution that would be great!
By the way, what is the program you are working on? ("XguiManager")
Cheers,
Carlosgs |
|
| Back to top |
|
 |
ne0h
Joined: 21 Feb 2008 Posts: 386
|
Posted: Sat Dec 19, 2009 4:01 am Post subject: |
|
|
Xplora, I'm working on the next release... ( 2.0 ) _________________ Get Xplora! |
|
| Back to top |
|
 |
|