Sybase NNTP forums - End Of Life (EOL)

The NNTP forums from Sybase - - 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.

Any comment on error 'Resource governor for .... exceeded'

2 posts in General Discussion Last posting was on 2006-09-04 14:01:47.0Z
Özen Sercan Posted on 2006-09-04 13:48:50.0Z
From: Özen Sercan
Newsgroups: ianywhere.public.general
Subject: Any comment on error 'Resource governor for .... exceeded'
X-Mailer: WebNews to Mail Gateway v1.1t
Message-ID: <>
MIME-Version: 1.0
Content-Type: text/plain; charset="ISO-8859-1"
Content-Transfer-Encoding: quoted-printable
Date: 4 Sep 2006 06:48:50 -0700
X-Trace: forums-1-dub 1157377730 (4 Sep 2006 06:48:50 -0700)
X-Original-Trace: 4 Sep 2006 06:48:50 -0700,
Lines: 26
Path: forums-1-dub!not-for-mail
Xref: forums-1-dub ianywhere.public.general:5607
Article PK: 1635

We are working with Sybase ASA 9.0.2.
In the passed two months, I had this error message twice, on
system that works for 24 hrs and 7 days in a week.
When I restart the db the system starts working normally.
I have the similar code and db on a different computer which
more powerful from this one that shows no problem.

Before increasing the related 'MAX_STATEMENT_COUNT option'
default value from 50 to a higher value, I wanted to get the
opinion of the forum.

Thanks for your help.....

Error: "Resource governor for 'prepared statements'

PC: RAM 256 MB (Could this be a problem?!?!?!)
MS Win XP Prof with SP2

Turkey, Aselsan A.&#350;.

Greg Fenton Posted on 2006-09-04 14:01:47.0Z
From: Greg Fenton <greg.fenton@googles-mail-site>
User-Agent: Thunderbird (Windows/20060719)
MIME-Version: 1.0
Newsgroups: ianywhere.public.general
Subject: Re: Any comment on error 'Resource governor for .... exceeded'
References: <>
In-Reply-To: <>
Content-Type: text/plain; charset=ISO-8859-1; format=flowed
Content-Transfer-Encoding: 8bit
Message-ID: <44fc2f0f$1@forums-2-dub>
X-Original-Trace: 4 Sep 2006 06:50:07 -0700,
Lines: 15
X-Original-Trace: 4 Sep 2006 06:50:09 -0700,
Date: 4 Sep 2006 07:01:47 -0700
X-Trace: forums-1-dub 1157378507 (4 Sep 2006 07:01:47 -0700)
X-Original-Trace: 4 Sep 2006 07:01:47 -0700,
X-Authenticated-User: ngsysop
Path: forums-1-dub!not-for-mail
Xref: forums-1-dub ianywhere.public.general:5608
Article PK: 1636

Özen Sercan wrote:
> Error: "Resource governor for 'prepared statements'
> exceeded"

This means that your application is creating preparted statements but is
not releasing them. The default limit in ASA is 50. You can modify
this value by changing a database option, but more likely you should fix
your application to release these prepared statements. Otherwise this
is a "resource leak" situation.

Greg Fenton
Some Random Dude