If this is your first visit, be sure to check out the FAQ by clicking the link above. You may have to register before you can post: click the register link above to proceed. To start viewing messages, select the forum that you want to visit from the selection below.

 
Go Back  dBforums > Database Server Software > DB2 > Please Help

Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1 (permalink)  
Old 03-25-09, 12:08
Ratheesh.K.Nair Ratheesh.K.Nair is offline
Registered User
 
Join Date: Mar 2009
Posts: 3
Please Help

Hi Experts,

I am getting error

SQL1219N The request failed because private virtual memory could
not be allocated. SQLSTATE=57011



Explanation:

The instance was unable to allocate enough private virtual memory to
process the request. This may be a result of shared memory allocations
made in other (unrelated) processes.

User response:

The problem may be corrected by:
* Stopping other applications running on the machine, especially those
that use large amounts of shared memory.

sqlcode: -1219

sqlstate: 57011

I am using Windows XP and DB2 9.5c express.

TIA
Reply With Quote
  #2 (permalink)  
Old 03-25-09, 12:15
nick.ncs nick.ncs is offline
Registered User
 
Join Date: May 2007
Location: somewhere in dbforums
Posts: 221
That simply means you are out of memory. What is the amount of RAM and the amount of virtual memory that you have in your system.

Don't expect DB2 to run on 128 / 256 MB RAM

For quick relief what you can do is try to increase the virtual memory substantially.....
__________________
IBM Certified Database Associate, DB2 9 for LUW
Reply With Quote
  #3 (permalink)  
Old 04-02-09, 06:23
andre.april andre.april is offline
Registered User
 
Join Date: Apr 2009
Posts: 1
I have the same problem on Win XP SP3, 2 GB RAM even after a fresh reboot and if the control center is the only application I start after login...
Reply With Quote
  #4 (permalink)  
Old 04-02-09, 11:45
brescia brescia is offline
Registered User
 
Join Date: Apr 2009
Posts: 1
Is your DB2 user a part of the Administrator group?

This issue is not simply a "memory" issue. Perhaps you have run into the same issue that hit me. In an attempt to increase the security of my system, I removed the DB2 user(s) from the Windows Administrators group, assuming that the DB2 user simply needed to be in the DB2ADMINS group. Apparently, a process must need to be an Administrator (or something more than a DB2ADMIN at least) to allocate the type of memory that DB2 is trying to allocate. So, you may want to check to see if your DB2 user(s) are in the Administrator group.
Reply With Quote
  #5 (permalink)  
Old 03-01-10, 08:02
RadimBaca RadimBaca is offline
Registered User
 
Join Date: Mar 2010
Posts: 1
I had the same problem when i changed the user who run the DB2 services. I was able to fix this problem when I add the right 'act as a part of operating system' to the user and add user to the Administrators group. I'm not sure whether it is clean solution, however it works.

On the other side, it seems that DB2 requires OS admin rights to run the services. It is not very nice behaviour, even SQL Server can run without them ...
Reply With Quote
Reply

Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On