mr 24.08.2008, 18:42 |
real mode memory management question (Developers) |
Memory requested by malloc and later freed by free won't be given back to DOS instant and therefore you are out of ram pretty fast because the memory becomes only available again after the exe terminated? |
Japheth Germany (South), 24.08.2008, 21:03 @ mr |
real mode memory management question |
> Memory requested by malloc and later freed by free won't be given back to --- |
mr 24.08.2008, 21:19 @ Japheth |
real mode memory management question |
> Are you're talking about C/C++? |
Japheth Germany (South), 24.08.2008, 21:27 @ mr |
real mode memory management question |
> dos_allocmem exists but the informations found on google are very rare. --- |
rr Berlin, Germany, 24.08.2008, 23:17 @ mr |
real mode memory management question |
> ... the memory becomes only available again after the exe terminated? --- |
mr 24.08.2008, 23:30 @ rr |
real mode memory management question |
> > ... the memory becomes only available again after the exe terminated? |
rr Berlin, Germany, 24.08.2008, 23:42 @ mr |
real mode memory management question |
> > > ... the memory becomes only available again after the exe terminated? --- |
mr 25.08.2008, 00:53 @ rr |
real mode memory management question |
> Then you must be doing something wrong. |
Rugxulo Usono, 25.08.2008, 03:53 @ mr |
real mode memory management question |
> It's a bit strange. Initially I can malloc 500 * 1024 (and also 650 * 1024 |
marcov 25.08.2008, 10:34 @ Rugxulo |
real mode memory management question |
> EDIT: 650k should never work (else you're doing something VERY weird). |
marcov 25.08.2008, 10:51 @ mr |
real mode memory management question |
> Memory requested by malloc and later freed by free won't be given back to |