Unix Programming - Memory related Issue ( on HPUX)

This is Interesting: Free IT Magazines  
Home > Archive > Unix Programming > December 2006 > Memory related Issue ( on HPUX)





You are viewing an archived Text-only version of the thread. To view this thread in it's original format and/or if you want to reply to this thread please [click here]

Author Memory related Issue ( on HPUX)
som

2006-12-01, 7:25 am

Hi All,

I have two version of a c program on HPUX-11.2.
First is without threading, and second is with threading in which I
could chose how much thread or no threads to use.

I run first one, and check memory usage thru glance and note the memory
usage in DATA segment for whole run.
Now I run the second one and view the memory usage thru glance then I
foun the memory usage are just double from the start.
I have run with 0 threads option too, yet it's occupying double memory.
while database is same.

I have tried with commenting the initialization part which is used for
threads, still no clue. and results are same.

Now I am trying to compile it using purifier, but still I need your
kind suggestions, that where I am missing , or what approach I should
follow.

Thanks in advace.

Regards
Sunil Somani

Sponsored Links






Free braindumps | Software forum | Database administration forum

Copyright 2003 - 2008 webservertalk.com