- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Hi,
I think the following Intel web page is very interesting:
http://software.intel.com/en-us/articles/memory-limits-applications-windows/
Do you have something similar for Linux? I have searched, but I can't
seem to find it.
Roman
Link Copied
2 Replies
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
We don't have a similar article for Linux. The situation on Linux is a bit different.
For 32-bit systems, the same limits generally apply as for Windows.
For 64-bit systems, it depends on which of the "-mcmodel" options you specify when you build:
For 32-bit systems, the same limits generally apply as for Windows.
For 64-bit systems, it depends on which of the "-mcmodel" options you specify when you build:
- -mcmodel=small - static code and data limited to 2GB. This is the default
- -mcmodel=medium - static code is limited to 2GB but static data is unlimited
- -mcmodel=large - no limits on size of static code or data
There are performance and code size penalties for the medium and large options.
Dynamically-allocated data on 64-bit systems has no inherent limit. As best as I can tell, there is also no fixed limit on stack size, though on Linux this is established with a default when the process is created and can be raised by a shell command.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Thanks for the information. This is what I was looking for.
Reply
Topic Options
- Subscribe to RSS Feed
- Mark Topic as New
- Mark Topic as Read
- Float this Topic for Current User
- Bookmark
- Subscribe
- Printer Friendly Page