Memory usage is dependent on
- libraries used
- memory allocated
- stack requested
- whether large pages are being used

However, in most situations the memory footprint should not be an issue 
- since only the memory that is used will be given to the application. 
You can use prstat to look at memory footprint - check the RSS column.

In terms of performance tuning, there are plenty of resources at:
http://developers.sun.com/sunstudio/articles/index.jsp
http://developers.sun.com/solaris/reference/techart/index.jsp

Assuming you already have Sun Studio 12 (free download from 
http://developers.sun.com/sunstudio/ ) Then you should look into using 
the Performance Analyzer to profile your application.
http://developers.sun.com/sunstudio/analyzer_index.html

Then take a look at changing the compiler flags:
http://developers.sun.com/sunstudio/articles/options.html

You may also want to take a look at the CMT Developer Tools:
ATS does automatic performance tuning of applications:
http://cooltools.sunsource.net/ats

and spot does a detailed html report on application performance:
http://cooltools.sunsource.net/spot

You can download the for both Sun Studio 11 and Sun Studio 12 from:
http://cooltools.sunsource.net/cmtdt/install.html


Regards,

Darryl
http://blogs.sun.com/d/

verma wrote:
> Dear All,
> 
> Could any one help me how I can decreases memory using by a particular 
> application .
> is there any  magic of using run time linker apart from lazy loading etc  for 
> memory performance.
> 
> Please also help me how I can reduce  an application run time(startup time as 
> well execution time)
> 
> 
> Thanks & Regards
>  
>  
> This message posted from opensolaris.org
> _______________________________________________
> tools-linking mailing list
> tools-linking at opensolaris.org

Reply via email to