Re: More than 2, but less than 3 GiB per process memory?

2005-09-27 Thread Malte Cornils
they explicitly request to be copied. Because there was a specific request by the original poster Malte Cornils for a direct CC it would be polite to do so. Given the way this list works, it is impolite to make such a request. Heh. The list policy explicitly does not rule out CC requests, so it's

Re: More than 2, but less than 3 GiB per process memory?

2005-09-26 Thread Malte Cornils
Hello, Am Montag, 26. September 2005 20:29 schrieb Hendrik Boom: On Mon, Sep 26, 2005 at 11:34:15AM -0600, Bob Proulx wrote: Hendrik Boom wrote: Malte Cornils wrote: Does anyone have a clue why 2 GiB is the limit? It is not for me. I can malloc() up to 2.9G. [...] I've heard

Re: More than 2, but less than 3 GiB per process memory?

2005-09-26 Thread Malte Cornils
Hello, Ron Johnson wrote: I get the same message at 3057MB. Even This test has to be bogus, though, because my RAM+swap is less than 2GiB. This lets me alloc a 1650MB on a desktop w/ 1GB RAM, 1GB swap, GNOME 2.10, lots of pages open in Firefox, etc. [code that dirties allocated

Re: More than 2, but less than 3 GiB per process memory?

2005-09-25 Thread Malte Cornils
Hello, You wrote: On Friday September 23 2005 15:09, Malte Cornils wrote: [...] test_p = new test[i]; [...] free(test_p); Never, ever free() memory allocated with new! Use delete[]. Oops. Well spotted, this came from first writing the test case

Re: More than 2, but less than 3 GiB per process memory?

2005-09-25 Thread Malte Cornils
Hello Ron! You wrote: Malte [...] wrote: Does anyone have a clue why 2 GiB is the limit? http://www.puschitz.com/TuningLinuxForOracle.shtml#AddressMappingsOnLinux 0GB-1GB User space - Used for executable and brk/sbrk allocations (malloc uses brk for small

Re: More than 2, but less than 3 GiB per process memory?

2005-09-25 Thread Malte Cornils
Hello Hendrik! You wrote: [using more than 2 GiB memory for one process on 32bit systems] Actually, some kludgery might help here. [...] Near the start of your program, allocate a *huge* array on the stack, like char * hugepointer; int main(...) { char huge[10]; hugepointer

More than 2, but less than 3 GiB per process memory?

2005-09-23 Thread Malte Cornils
Hello, we've been trying to make a program (ITK/VTK image processing for a university project) work. Unfortunately, the process needs slightly above 2 GiB of virtual memory. Judging from the documentation I've seen, on 32bit systems I should be able to allocate up to 3 GiB of virtual memory

Re: More than 2, but less than 3 GiB per process memory?

2005-09-23 Thread Malte Cornils
Am Freitag, 23. September 2005 14:45 schrieben Sie: However, our test case for this terminates when trying to allocate more than 2 GiB of memory, even though we have a really big swap file. BTW, this is our test case, in case you're interested: #include iostream.h class test { int t1;

[sid] gcj native compilation question

2003-12-28 Thread Malte Cornils
be greatly appreciated. -Malte Cornils PS: Please Cc: me on replies, I'm accessing the slow web archive ATM. -- To UNSUBSCRIBE, email to [EMAIL PROTECTED] with a subject of unsubscribe. Trouble? Contact [EMAIL PROTECTED]

/etc/environment file: What is it?

2000-10-16 Thread Malte Cornils
Hi, I'd like to know where to find more information on the /etc/environment file, I couldn't find a man page or info page for it and searching through the Debian mailing lists didn't turn anything up either. It would be great if you could point me to some information wrt its use, which