Download your favorite Linux distribution at LQ ISO.
Go Back > Forums > Linux Forums > Linux - Newbie
User Name
Linux - Newbie This Linux forum is for members that are new to Linux.
Just starting out and have a question? If it is not in the man pages or the how-to's this is the place!


  Search this Thread
Old 01-26-2010, 11:03 PM   #1
Niraj Kulkarni
Registered: May 2008
Posts: 47

Rep: Reputation: 15
HOW much RAM will be used in uCLinux by Application


My basic system will be working on uCLinux.

There will be few applcations runnig on it.

How will I come to know that my abc application will be using
1. x amount of RAM when executed ( Ofcourse that will depend on how many buffers I allocate in the application , but I cannot sit and count every declaration ).
2. y amuont of Stack bytes will be used while execution.
3. How much STACK should be allocated. ( I understand that for uCLinux application Stack size must be known before hand , how is that possible ?? ).

Is the any IDE which tell this all.

Old 01-27-2010, 12:34 AM   #2
LQ Guru
Registered: Mar 2004
Distribution: SusE 8.2
Posts: 5,863
Blog Entries: 1

Rep: Reputation: Disabled
There are no easy answers.

There is no "magic IDE" where you can push a button and determine your exactly memory usage.

You're absolutely going to have to do some investigation, make some "educated guesses" - and then schedule enough time for prototyping and testing to determine if those guesses were accurate or not.

This article might help:
Old 01-27-2010, 01:12 AM   #3
Niraj Kulkarni
Registered: May 2008
Posts: 47

Original Poster
Rep: Reputation: 15
Thanks paulsm4,
I have gone through the link you gave.I was very informative.

Can you tell me how much should the stack size to begin with ( or to start with I can take a "educated guess" ).
Will I be able to come to know that my application have died because
1. there is no stack remaining.
2. My process 2 has corrupted my process 1's data in stack or ram.
does the kernel give some notification.( Like in normal Linux I have seen stack dump which SOMETIMES lead to the cause of kernel panic/Segmentaion fault/Stop Application execution).
Niraj Kulkarni.


application, uclinux

Thread Tools Search this Thread
Search this Thread:

Advanced Search

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
[SOLVED] What filesystem on uCLinux Niraj Kulkarni Linux - Newbie 4 01-25-2010 06:05 AM
Swap size for a 16Gb RAM database/application server Reginald0 Linux - Server 2 04-30-2008 01:56 PM
uCLinux pasqualino31 Other *NIX 0 04-01-2008 04:44 AM
About uCLinux m.harshavardhan Linux - General 0 04-25-2006 09:46 AM
uclinux moonz Linux - Software 0 09-20-2005 12:18 PM

All times are GMT -5. The time now is 08:55 PM.

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