First of all I would like to say THANK YOU for your help.
I am now able to allocate up to ~3.2 GB of memory on a 4 GB Machine, even with
shared libraries.
This is what I have done.
1. I have activated the kernel option in Kernel 2.4.21pre4aa3
CONFIG_05GB=y
This gives the following:
a: TASK_UNMAPPED_BASE is now 0xe000000 wich is 224 MB
b: Upper Limit for User-Space memory is now at 3.5 GB
So I have the potential to allocated up to 3360 MB of memory
2. I have exchanged malloc with anonymous mmap, since malloc
was still only able to allocate about 2 GB.
-- ----------------------------------------------------------------------------- Hartmut Manz WWW: http://www.intes.de INTES GmbH Phone: +49-711-78499-29 Schulze-Delitzsch-Str. 16 Fax: +49-711-78499-10 D-70565 Stuttgart E-mail: manz@intes.de Ein Mensch sieht, was vor Augen ist; der Herr aber sieht das Herz an. ------------------------------------------------------- 1. Samuel 16, 7 ------ To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a message to majordomo@vger.kernel.org More majordomo info at http://vger.kernel.org/majordomo-info.html Please read the FAQ at http://www.tux.org/lkml/