malloc returns null i did initialize

i initialised with
init_mempool(0x8000,0x800);
but when i call malloc it returns a null pointer
why?
resolutions?

More questions in this forum