Advertising (This ad goes away for registered users. You can Login or Register)

[SOLVED] Problem allocating ram with malloc

Open discussions on programming specifically for the PS Vita.
Forum rules
Forum rule Nº 15 is strictly enforced in this subforum.
Post Reply
gokuhs
Posts: 11
Joined: Thu Mar 10, 2011 2:24 pm

[SOLVED] Problem allocating ram with malloc

Post by gokuhs » Tue Oct 15, 2019 7:26 am

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
Advertising
Last edited by gokuhs on Tue Oct 15, 2019 5:57 pm, edited 1 time in total.

gokuhs
Posts: 11
Joined: Thu Mar 10, 2011 2:24 pm

Re: Problem allocating ram with malloc

Post by gokuhs » Tue Oct 15, 2019 5:56 pm

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
Advertising

Post Reply

Return to “Programming and Security”