Sybase NNTP forums - End Of Life (EOL)

The NNTP forums from Sybase - forums.sybase.com - are now closed.

All new questions should be directed to the appropriate forum at the SAP Community Network (SCN).

Individual products have links to the respective forums on SCN, or you can go to SCN and search for your product in the search box (upper right corner) to find your specific developer center.

Memory Leakage

5 posts in General Discussion (old) Last posting was on 2000-02-24 22:11:23.0Z
Adam Simmonds Posted on 2000-02-24 04:00:45.0Z
Newsgroups: sybase.public.easerver
Date: Thu, 24 Feb 2000 15:00:45 +1100
From: Adam Simmonds <asimmond@mail.usyd.edu.au>
Organization: University of Syndey
X-Mailer: Mozilla 4.7 [en] (WinNT; I)
X-Accept-Language: en
MIME-Version: 1.0
Subject: Memory Leakage
Content-Type: multipart/mixed; boundary="------------07CDEF04DD17DD70D9CFF61B"
Lines: 28
NNTP-Posting-Host: pc-70.sis.usyd.edu.au 129.78.248.198
Message-ID: <347_38B4ACED.2922495B@mail.usyd.edu.au>
Path: forums-1-dub!forums-1-dub!forums-master.sybase.com!forums.sybase.com
Xref: forums-1-dub sybase.public.easerver:27961
Article PK: 159652

Hi Everyone
I am writing a web app using jaguar 3.5 and writing all the components
in powerbuilder. I use transaction caches for all database activity
using the SYJ driver.

I am experiencing a large amount of memory loss as I do things like
updating and retrieving in a HTML dw and was wondering if anyone has any
tips and tricks that they have applied to stay away from memory problems
in this environment.

Rgds
Adam


Download VCard asimmond.vcf


Adam Simmonds Posted on 2000-02-24 08:42:24.0Z
Newsgroups: sybase.public.easerver
Date: Thu, 24 Feb 2000 19:42:24 +1100
From: Adam Simmonds <asimmond@mail.usyd.edu.au>
Organization: University of Syndey
X-Mailer: Mozilla 4.7 [en] (WinNT; I)
X-Accept-Language: en
MIME-Version: 1.0
Subject: Re: Memory Leakage
Content-Type: multipart/mixed; boundary="------------D551A0D5BBDD0FDCF654E320"
Lines: 41
NNTP-Posting-Host: pc-70.sis.usyd.edu.au 129.78.248.198
Message-ID: <347_38B4EEF0.CE6AF4D2@mail.usyd.edu.au>
References: <347_38B4ACED.2922495B@mail.usyd.edu.au>
Path: forums-1-dub!forums-1-dub!forums-master.sybase.com!forums.sybase.com
Xref: forums-1-dub sybase.public.easerver:27952
Article PK: 159645

One thing I have noticed is that the memory leakage tends to occur with
objects that have instance datastores. My components are generally
semi-stateless in that they dont automatically demarcate as I need to call
multiple functions and I then complete or abort them via a wrapper function.
I destroy any instance datastore when I complete or abort the object and
this has removed some memory loss however I still get some.

Rgds
Adam

Adam Simmonds wrote:

> Hi Everyone
> I am writing a web app using jaguar 3.5 and writing all the components
> in powerbuilder. I use transaction caches for all database activity
> using the SYJ driver.
>
> I am experiencing a large amount of memory loss as I do things like
> updating and retrieving in a HTML dw and was wondering if anyone has any
> tips and tricks that they have applied to stay away from memory problems
> in this environment.
>
> Rgds
> Adam


Download VCard asimmond.vcf


Ken Forbes Posted on 2000-02-24 15:08:48.0Z
Newsgroups: sybase.public.easerver
From: "Ken Forbes" <ken.forbes_removethis_@wcom.com>
Subject: Re: Memory Leakage
Date: Thu, 24 Feb 2000 09:08:48 -0600
Lines: 34
X-Priority: 3
X-MSMail-Priority: Normal
X-Newsreader: Microsoft Outlook Express 5.00.2314.1300
X-MimeOLE: Produced By Microsoft MimeOLE V5.00.2314.1300
NNTP-Posting-Host: RIO-DHCP1299.mcit.com 166.35.185.53
Message-ID: <347_9Tplljtf$GA.274@forums.sybase.com>
References: <347_38B4ACED.2922495B@mail.usyd.edu.au> <347_38B4EEF0.CE6AF4D2@mail.usyd.edu.au>
Path: forums-1-dub!forums-1-dub!forums-master.sybase.com!forums.sybase.com
Xref: forums-1-dub sybase.public.easerver:27936
Article PK: 154604

I had the same problem and found the cause to be the SYJ driver. We
switched to an ODBC driver with exactly the same objects and the memory leak
disappeared.

Adam Simmonds <asimmond@mail.usyd.edu.au> wrote in message
news:38B4EEF0.CE6AF4D2@mail.usyd.edu.au...
> One thing I have noticed is that the memory leakage tends to occur with
> objects that have instance datastores. My components are generally
> semi-stateless in that they dont automatically demarcate as I need to call
> multiple functions and I then complete or abort them via a wrapper
function.
> I destroy any instance datastore when I complete or abort the object and
> this has removed some memory loss however I still get some.
>
> Rgds
> Adam
>
> Adam Simmonds wrote:
>
> > Hi Everyone
> > I am writing a web app using jaguar 3.5 and writing all the components
> > in powerbuilder. I use transaction caches for all database activity
> > using the SYJ driver.
> >
> > I am experiencing a large amount of memory loss as I do things like
> > updating and retrieving in a HTML dw and was wondering if anyone has any
> > tips and tricks that they have applied to stay away from memory problems
> > in this environment.
> >
> > Rgds
> > Adam
>


Adam Simmonds Posted on 2000-02-24 22:11:23.0Z
Newsgroups: sybase.public.easerver
Date: Fri, 25 Feb 2000 09:11:23 +1100
From: Adam Simmonds <asimmond@mail.usyd.edu.au>
Organization: University of Syndey
X-Mailer: Mozilla 4.7 [en] (WinNT; I)
X-Accept-Language: en
MIME-Version: 1.0
Subject: Re: Memory Leakage
Content-Type: multipart/mixed; boundary="------------126034772142F2BBD6FEF244"
Lines: 55
NNTP-Posting-Host: pc-70.sis.usyd.edu.au 129.78.248.198
Message-ID: <347_38B5AC8B.B2BF579D@mail.usyd.edu.au>
References: <347_38B4ACED.2922495B@mail.usyd.edu.au> <347_38B4EEF0.CE6AF4D2@mail.usyd.edu.au> <347_9Tplljtf$GA.274@forums.sybase.com>
Path: forums-1-dub!forums-1-dub!forums-master.sybase.com!forums.sybase.com
Xref: forums-1-dub sybase.public.easerver:27869
Article PK: 159569

Thanks Ken
Yes I have noticed that myself, however it does not remove the whole problem,
there must be some inherent memory loss in jaguar when you use datastores on
components.
Adam

Ken Forbes wrote:

> I had the same problem and found the cause to be the SYJ driver. We
> switched to an ODBC driver with exactly the same objects and the memory leak
> disappeared.
>
> Adam Simmonds <asimmond@mail.usyd.edu.au> wrote in message
> news:38B4EEF0.CE6AF4D2@mail.usyd.edu.au...
> > One thing I have noticed is that the memory leakage tends to occur with
> > objects that have instance datastores. My components are generally
> > semi-stateless in that they dont automatically demarcate as I need to call
> > multiple functions and I then complete or abort them via a wrapper
> function.
> > I destroy any instance datastore when I complete or abort the object and
> > this has removed some memory loss however I still get some.
> >
> > Rgds
> > Adam
> >
> > Adam Simmonds wrote:
> >
> > > Hi Everyone
> > > I am writing a web app using jaguar 3.5 and writing all the components
> > > in powerbuilder. I use transaction caches for all database activity
> > > using the SYJ driver.
> > >
> > > I am experiencing a large amount of memory loss as I do things like
> > > updating and retrieving in a HTML dw and was wondering if anyone has any
> > > tips and tricks that they have applied to stay away from memory problems
> > > in this environment.
> > >
> > > Rgds
> > > Adam
> >


Download VCard asimmond.vcf


Ashish Mahajan Posted on 2000-02-24 15:17:42.0Z
Newsgroups: sybase.public.easerver
From: "Ashish Mahajan" <ash@NOSPAM.com>
Subject: Re: Memory Leakage
Date: Thu, 24 Feb 2000 10:17:42 -0500
Lines: 37
X-Priority: 3
X-MSMail-Priority: Normal
X-Newsreader: Microsoft Outlook Express 5.00.2919.6600
X-MimeOLE: Produced By Microsoft MimeOLE V5.00.2919.6600
NNTP-Posting-Host: pikachu.sybase.com 204.167.42.191
Message-ID: <347_$SCmPstf$GA.151@forums.sybase.com>
References: <347_38B4ACED.2922495B@mail.usyd.edu.au> <347_38B4EEF0.CE6AF4D2@mail.usyd.edu.au>
Path: forums-1-dub!forums-1-dub!forums-master.sybase.com!forums.sybase.com
Xref: forums-1-dub sybase.public.easerver:27934
Article PK: 159629

Adam,

I believe that this problem was reported as a bug and fixed recently. Can
you please check with support and see if an EBF is available ?

-Ashish

"Adam Simmonds" <asimmond@mail.usyd.edu.au> wrote in message
news:38B4EEF0.CE6AF4D2@mail.usyd.edu.au...
> One thing I have noticed is that the memory leakage tends to occur with
> objects that have instance datastores. My components are generally
> semi-stateless in that they dont automatically demarcate as I need to call
> multiple functions and I then complete or abort them via a wrapper
function.
> I destroy any instance datastore when I complete or abort the object and
> this has removed some memory loss however I still get some.
>
> Rgds
> Adam
>
> Adam Simmonds wrote:
>
> > Hi Everyone
> > I am writing a web app using jaguar 3.5 and writing all the components
> > in powerbuilder. I use transaction caches for all database activity
> > using the SYJ driver.
> >
> > I am experiencing a large amount of memory loss as I do things like
> > updating and retrieving in a HTML dw and was wondering if anyone has any
> > tips and tricks that they have applied to stay away from memory problems
> > in this environment.
> >
> > Rgds
> > Adam
>