Skip to content

Commit

Permalink
Increase default newlib heap size to 128 MB.
Browse files Browse the repository at this point in the history
  • Loading branch information
Rinnegatamante authored and d3m3vilurr committed Sep 11, 2023
1 parent 81fe4c8 commit 6a97e00
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions newlib/libc/sys/vita/sbrk.c
Original file line number Diff line number Diff line change
Expand Up @@ -43,8 +43,8 @@ void _init_vita_heap(void)
}
else
{
// Create a memblock for the heap memory, 32MB
_newlib_heap_size = 32 * 1024 * 1024;
// Create a memblock for the heap memory, 128MB
_newlib_heap_size = 128 * 1024 * 1024;
}
_newlib_heap_memblock = sceKernelAllocMemBlock("Newlib heap", 0x0c20d060, _newlib_heap_size, 0);
if (_newlib_heap_memblock < 0)
Expand Down

0 comments on commit 6a97e00

Please sign in to comment.