AMD Processors
Decrease font size
Increase font size
Topic Title: >4GB memory allocation
Topic Summary:
Created On: 07/01/2004 10:00 AM
Status: Read Only
Linear : Threading : Single : Branch
Search Topic Search Topic
Topic Tools Topic Tools
View similar topics View similar topics
View topic in raw text format. Print this topic.
 07/01/2004 10:00 AM
User is offline View Users Profile Print this message

Author Icon
Junior Member

Posts: 1
Joined: 07/01/2004

Is it possible to allocate a single chunk of memory larger than 4GB with an Athlon64 under Linux (given a sufficient amount of swap space), i.e., doing something like

void *buf = malloc(5000000000);

in C/C++? The CPU should support it due to the 64 bit architecture, but how do the compiler (gcc-3.3.x), the system libraries (glibc-2.3.x) and the kernel (Linux-2.6.x) handle this?

112018 users are registered to the AMD Processors forum.
There are currently 0 users logged in.

FuseTalk Hosting Executive Plan v3.2 - © 1999-2015 FuseTalk Inc. All rights reserved.

Contact AMD Terms and Conditions ©2007 Advanced Micro Devices, Inc. Privacy Trademark information