Sign Up

Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.

Have an account? Sign In

Have an account? Sign In Now

Sign In

Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.

Sign Up Here

Forgot Password?

Don't have account, Sign Up Here

Forgot Password

Lost your password? Please enter your email address. You will receive a link and will create a new password via email.

Have an account? Sign In Now

You must login to ask a question.

Forgot Password?

Need An Account, Sign Up Here

Please briefly explain why you feel this question should be reported.

Please briefly explain why you feel this answer should be reported.

Please briefly explain why you feel this user should be reported.

Sign InSign Up

The Archive Base

The Archive Base Logo The Archive Base Logo

The Archive Base Navigation

  • SEARCH
  • Home
  • About Us
  • Blog
  • Contact Us
Search
Ask A Question

Mobile menu

Close
Ask a Question
  • Home
  • Add group
  • Groups page
  • Feed
  • User Profile
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Buy Points
  • Users
  • Help
  • Buy Theme
  • SEARCH
Home/ Questions/Q 6605867
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: May 25, 20262026-05-25T19:20:05+00:00 2026-05-25T19:20:05+00:00

I want to keep some applications to run with a 4 GB address space

  • 0

I want to keep some applications to run with a 4 GB address space within a 64 bit OS running on a 64 bit processor (x86 xeon, 8 core). I know there is an option to compile with -m32 option, but at this moment the computer I’m working with, doesn’t have the required support for compiling with -m32, so I can’t use it, neither I can install anything on that computer as I don’t have any rights.

Now my question is if there is any possibility to restrict address space to 4 GB. Please don’t ask me why I want to do so, just tell me how if that is possible. Thanks.

  • 1 1 Answer
  • 0 Views
  • 0 Followers
  • 0
Share
  • Facebook
  • Report

Leave an answer
Cancel reply

You must login to add an answer.

Forgot Password?

Need An Account, Sign Up Here

1 Answer

  • Voted
  • Oldest
  • Recent
  • Random
  1. Editorial Team
    Editorial Team
    2026-05-25T19:20:05+00:00Added an answer on May 25, 2026 at 7:20 pm

    The ulimit/setrlimit mechanism, accessible in bash via ulimit, can do this with minor drawbacks.

    ulimit -v 4000000
    

    should limit the memory available to the current process group to 4 GB.

    However, it limits the total size of your address space mappings, and does not limit your mappings’ offset
    – you still may have pointers larger than 2^32.

    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Related Questions

I want to keep some data which is checkhed in array list. I added
I have some conditional formatting styles. I don't want to keep creating new rules
I have a project that requires some configuration files. I want to keep the
I keep running into issues with a .bat script I want to write to
I have settings.php file that I want to keep some constants in, like my
I want to keep my footer at the bottom of the page while keeping
i want to keep my app in sync with the Server. The communication between
I want to keep an element always visible, even when it should be scrolled
I want to keep my list GWT side after fetch it from service side.For
I want to keep tabs on the number of concurrent users of my application.

Explore

  • Home
  • Add group
  • Groups page
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Users
  • Help
  • SEARCH

Footer

© 2021 The Archive Base. All Rights Reserved
With Love by The Archive Base

Insert/edit link

Enter the destination URL

Or link to existing content

    No search term specified. Showing recent items. Search or use up and down arrow keys to select an item.