Never mind. I was confused. The compiler I have has big pointers and I can allocate more than 4GB of memory. Now all I have to do is figure out why I cannot allocate more than 20 GB of space.
I'm running Linux Mint on a 64-bit Intel machine with 16 GB of memory.
{SOLVED] What C compiler do I need to compile a program that can access more that 4GB of memory?
Forum rules
Topics in this forum are automatically closed 6 months after creation.
Topics in this forum are automatically closed 6 months after creation.
{SOLVED] What C compiler do I need to compile a program that can access more that 4GB of memory?
Last edited by LockBot on Mon Apr 24, 2023 10:00 pm, edited 3 times in total.
Reason: Topic automatically closed 6 months after creation. New replies are no longer allowed.
Reason: Topic automatically closed 6 months after creation. New replies are no longer allowed.
-
- Level 20
- Posts: 12341
- Joined: Sun Aug 09, 2015 10:00 am
Re: What C compiler do I need to compile a program that can access more that 4GB of memory?
Please post output of commandin code tags
Code: Select all
inxi -Fxxxrz
If I have helped you solve a problem, please add [SOLVED] to your first post title, it helps other users looking for help.
Regards,
Deepak
Mint 21.1 Cinnamon 64 bit with AMD A6 / 8GB
Mint 21.1 Cinnamon AMD Ryzen3500U/8gb
Regards,
Deepak
Mint 21.1 Cinnamon 64 bit with AMD A6 / 8GB
Mint 21.1 Cinnamon AMD Ryzen3500U/8gb
-
- Level 20
- Posts: 12341
- Joined: Sun Aug 09, 2015 10:00 am
Re: What C compiler do I need to compile a program that can access more that 4GB of memory?
What error do you get when allocating memory beyond 4gb using gcc?
If I have helped you solve a problem, please add [SOLVED] to your first post title, it helps other users looking for help.
Regards,
Deepak
Mint 21.1 Cinnamon 64 bit with AMD A6 / 8GB
Mint 21.1 Cinnamon AMD Ryzen3500U/8gb
Regards,
Deepak
Mint 21.1 Cinnamon 64 bit with AMD A6 / 8GB
Mint 21.1 Cinnamon AMD Ryzen3500U/8gb