Page 1 of 1

[SOLVED] Problem allocating ram with malloc

Posted: Tue Oct 15, 2019 7:26 am
by gokuhs
Hi!

Sorry to write to you like that, and for my English, I write to you because I have been with a problem for several days that I cannot solve with an a port of DevilutionX that I am doing for PSVita.

The problem is when try to allocate 24MB with malloc, And I don't know why vita can not allocate it. I have calculated how much memory you have reserved before, but it does not reserved more than 20MB.

Do you know how much RAM is available for the user application?

This is my repo: https://github.com/gokuhs/devilutionX

Thanks for the help

Re: Problem allocating ram with malloc

Posted: Tue Oct 15, 2019 5:56 pm
by gokuhs
I'm auto respond, i don't know is necessary use _newlib_heap_size_user to increment the memory

I found the answer in this thread viewtopic.php?f=54&t=45395