|
|
|||||||||
|
|||||||||
|
|||||||||
| |
|||
| |||||||||
![]() |
|
|
«
Previous Thread
|
Next Thread
»
|
Thread Tools | Search this Thread | Display Modes |
|
#1
|
|||
|
|||
|
CMemoryException solution
I have an issue that I cannot resolve. I'm testing a very large database object. It is a requirement that multiple instances of this object be created concurrently. Inititally I had been been getting a CMemoryException error when only two instances of the object were created. I then changed the paging file size to the Win2000 max of 4095 MB. This allowed me to create 6 instances of the object. However, I need to be able to create at least 10 instances concurrently, so I altered the registry file to use two page files created in separate directories on the C drive. Still, I am only able to create six instances of the object. Could this be due to a hardware constraint? Thanks.
Jake |
|
#2
|
||||
|
||||
|
Doubt it'd be hardware, perhaps see if your database is limited it to 6 max connections per ip.
|
|
#3
|
|||
|
|||
|
Quote:
Nope, it's not that. I coded the entire database myself. The online functionality has yet to be implemented. All 10 instances are created on the same system and answer dummy queries for the time being. Another point that may be helpful: when initializing the system, the memory useage as displayed in Task manager only indicates 2.1 GB used of 8.0 GB available when I get the CMemoryException. It never maxes out the available memory. |
|
#4
|
||||
|
||||
|
You may want to try asking over at Devshed's .NET forum and/or ASPfree's .NET forum.
(both are part of the Developer Shed network as is this one) but those 2 are more active. Hopefully we can get this place a bit more active. |
|
#5
|
|||
|
|||
|
I appreciate the tip. I'll give it a try.
Quote:
|
![]() |
| Viewing: Dev Articles Community Forums > Programming > .NET Development > CMemoryException solution |
| Thread Tools | Search this Thread |
| Display Modes | Rate This Thread |
|
|
|
|