LinuxQuestions.org
Review your favorite Linux distribution.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Software
User Name
Password
Linux - Software This forum is for Software issues.
Having a problem installing a new program? Want to know which application is best for the job? Post your question in this forum.

Notices


Reply
  Search this Thread
Old 03-29-2004, 03:02 PM   #1
mlaudu
LQ Newbie
 
Registered: Mar 2004
Location: Cleveland, Ohio, USA
Posts: 1

Rep: Reputation: 0
Post Linux memory allocation to programs


I use a public-domain software called ADIC (Argonne National Labs). ADIC processes a c-program (in a file) to create the derivative code for that program.

I run ADIC in Red Hat Linux 9.0. A problem is that if my program files are larger than about 120 Kb, ADIC does not process them. But if I fragment the files so that they are of the above size or smaller, they are processed. Some of the files I have have single routines that are larger than 120K and fragmenting is easily prone to errors.

I believe that the memory Linux allocates to ADIC is too small to allow it process large files.

Can anyone help me with information on how I can increase the memory that ADIC can use? IS there a way to tell Linux to allocate a specific amount of memory to a program running in Linux?

Thank you.

MLA
 
Old 03-29-2004, 04:25 PM   #2
Tinkster
Moderator
 
Registered: Apr 2002
Location: earth
Distribution: slackware by choice, others too :} ... android.
Posts: 23,067
Blog Entries: 11

Rep: Reputation: 928Reputation: 928Reputation: 928Reputation: 928Reputation: 928Reputation: 928Reputation: 928Reputation: 928
I don't think that this is the case ... have a look at
the output of top when running that tool ... how
much RAM does it chew up with the large files?


Cheers,
Tink
 
  


Reply



Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
memory allocation esael Linux - General 7 01-12-2008 12:12 PM
memory allocation gecoool Programming 2 10-24-2005 09:47 AM
Help - memory allocation in C zaichik Programming 3 09-04-2005 10:16 AM
how does linux handle memory allocation? nodger Programming 4 04-17-2004 10:10 PM
memory allocation. raven Programming 5 09-08-2002 01:50 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - Software

All times are GMT -5. The time now is 01:27 AM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration