Memory problem

Previous Topic Next Topic
 
classic Classic list List threaded Threaded
4 messages Options
Reply | Threaded
Open this post in threaded view
|

Memory problem

Sreenath
Hi All,
 
 I have some issues with the memory. I have an application which does some DB selects, open some external files to read data and to open up in a Text Editor. But i does this the physical memory shoots up. After i finish with my application also the physical memory of the system doesn't comes down.
 
When i open the external files i properly close that and there are no undeclared variable or Singleton classes.
 
Can anyone suggest me what might be cause  that my application is not dumping the physical memory after the execution of the program. I use VW7.6.
 
Thanks and Regards,
Sree
 
 

_______________________________________________
vwnc mailing list
[hidden email]
http://lists.cs.uiuc.edu/mailman/listinfo/vwnc
Reply | Threaded
Open this post in threaded view
|

Re: Memory problem

Andres Valloud-6
Without knowing more specifics, perhaps the problem is that memory was
allocated that later cannot be freed because it is still holding on to
some information that does not fit somewhere else.  You may want to read
the docs about memory management that are in the doc folder.

On 8/5/2010 4:09 AM, Sreenath G K wrote:

> Hi All,
>   I have some issues with the memory. I have an application which does
> some DB selects, open some external files to read data and to open up in
> a Text Editor. But i does this the physical memory shoots up. After i
> finish with my application also the physical memory of the system
> doesn't comes down.
> When i open the external files i properly close that and there are no
> undeclared variable or Singleton classes.
> Can anyone suggest me what might be cause  that my application is not
> dumping the physical memory after the execution of the program. I use VW7.6.
> Thanks and Regards,
> Sree
>
>
>
> _______________________________________________
> vwnc mailing list
> [hidden email]
> http://lists.cs.uiuc.edu/mailman/listinfo/vwnc
_______________________________________________
vwnc mailing list
[hidden email]
http://lists.cs.uiuc.edu/mailman/listinfo/vwnc
Reply | Threaded
Open this post in threaded view
|

Re: Memory problem

skrish
In reply to this post by Sreenath

Are you looking at the DB2 ( presume DB2/ Oracle ) having some issues because their parameters are not correctly set..?

Especially as mem remains high after VW quits.

-Skrish


On Thu, Aug 5, 2010 at 4:39 PM, Sreenath G K <[hidden email]> wrote:
Hi All,
 
 I have some issues with the memory. I have an application which does some DB selects, open some external files to read data and to open up in a Text Editor. But i does this the physical memory shoots up. After i finish with my application also the physical memory of the system doesn't comes down.
 
When i open the external files i properly close that and there are no undeclared variable or Singleton classes.
 
Can anyone suggest me what might be cause  that my application is not dumping the physical memory after the execution of the program. I use VW7.6.
 
Thanks and Regards,
Sree
 
 

_______________________________________________
vwnc mailing list
[hidden email]
http://lists.cs.uiuc.edu/mailman/listinfo/vwnc



_______________________________________________
vwnc mailing list
[hidden email]
http://lists.cs.uiuc.edu/mailman/listinfo/vwnc
Reply | Threaded
Open this post in threaded view
|

Re: Memory problem

Sreenath
HI all,

 Hope my previous post are bit vague and i will try to explain what i
have done exactly.

I am working windows XP professional.. and all the memory related
thing i have analysed through the TaskManager of Windows.

1) I opened a new fresh Image VW 7.6. Loaded the PostgresSQLEXDI
package.When i opened the image it was 23MB of memory which is used by
vwnt.

2) I opned ADHOC connected to my postgres DB on which it have a record
size of 10,000 records.

3) I used the select * from my_table and the memory shoot upto 75MB.

 
4) I closed the connection closed ADHOC and still the memory is not
dumping which is used in the select.

 
5) I did the forced GC collect.. but still its not resturning to the
previous state of close to my 23MB when i opened the image.
 
If i do the select again the mmeory will be raised from 75MB to some 100+
 

 I did the same steps ( 2-4) which ADHOC connected to SQL databese.
When i effect the select the memory shoot up and as soon as i
disconnected the connection to DB the memory was dropped close to my
23 MB mark, but a little up to be precise its 25MB.

So anyone have some idea why this happens and any solutions to this
query.

Thanks and Regards,
Sree



On Mon, Aug 9, 2010 at 6:37 PM, Sudhakar Krishnamachari <[hidden email]> wrote:

Are you looking at the DB2 ( presume DB2/ Oracle ) having some issues because their parameters are not correctly set..?

Especially as mem remains high after VW quits.

-Skrish


On Thu, Aug 5, 2010 at 4:39 PM, Sreenath G K <[hidden email]> wrote:
Hi All,
 
 I have some issues with the memory. I have an application which does some DB selects, open some external files to read data and to open up in a Text Editor. But i does this the physical memory shoots up. After i finish with my application also the physical memory of the system doesn't comes down.
 
When i open the external files i properly close that and there are no undeclared variable or Singleton classes.
 
Can anyone suggest me what might be cause  that my application is not dumping the physical memory after the execution of the program. I use VW7.6.
 
Thanks and Regards,
Sree
 
 

_______________________________________________
vwnc mailing list
[hidden email]
http://lists.cs.uiuc.edu/mailman/listinfo/vwnc




_______________________________________________
vwnc mailing list
[hidden email]
http://lists.cs.uiuc.edu/mailman/listinfo/vwnc