Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id ; Wed, 17 Oct 2001 18:29:30 -0400 Received: (majordomo@vger.kernel.org) by vger.kernel.org id ; Wed, 17 Oct 2001 18:29:19 -0400 Received: from perninha.conectiva.com.br ([200.250.58.156]:65037 "HELO perninha.conectiva.com.br") by vger.kernel.org with SMTP id ; Wed, 17 Oct 2001 18:29:10 -0400 Date: Wed, 17 Oct 2001 19:27:26 -0300 (BRST) From: Rik van Riel X-X-Sender: To: "Oleg A. Yurlov" Cc: , Subject: Re: "3.5GB user address space" option. In-Reply-To: <1981072193242.20011018021819@spylog.com> Message-ID: X-supervisor: aardvark@nl.linux.org MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII Sender: linux-kernel-owner@vger.kernel.org X-Mailing-List: linux-kernel@vger.kernel.org On Thu, 18 Oct 2001, Oleg A. Yurlov wrote: > How I can use 3.5GB in my apps ? I try malloc() and get > error on 2G bounce... :-( You may want to use the 'hoard' memory allocation library, it seems a bit smarter than glibc's malloc in getting all the address space your program wants. 1) install libhoard 2) export LD_PRELOAD=libhoard.so 3) run the program cheers, Rik -- DMCA, SSSCA, W3C? Who cares? http://thefreeworld.net/ (volunteers needed) http://www.surriel.com/ http://distro.conectiva.com/ - 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/