Re: Out of Memory Problem in VB 6.0 Application.
- From: "Peri" <Peri@xxxxxxxxxxxxxxxxx>
- Date: Sat, 17 Sep 2005 21:17:06 +0530
Thanks for you reply.
How do we overcome this ?
Meanwhile for redimensioning I am using some redim block, like for every
1000 entries I will do a redim, until then I will keep on appending the
entires to the UDT.
--
Thanks and Regards,
Peri
"Michael C" <nospam@xxxxxxxxxx> wrote in message
news:ez8YxgyuFHA.3932@xxxxxxxxxxxxxxxxxxxxxxx
> "Peri" <Peri@xxxxxxxxxxxxxxxxx> wrote in message
> news:OhMy29uuFHA.2948@xxxxxxxxxxxxxxxxxxxxxxx
> > Dear All,
> >
> > I have developed an application which is memory hungry. All the
> > information
> > are stored in the memory (Using Array of Structures) and also in the SQL
> > server database. All the process will be done in the arrays and the
final
> > update will be done in the SQL server database and I take care that both
> > of
> > them are in synch.
> >
> > Now the problem is when I tested the application under load it is giving
> > "Out of Memory". I am having around 10 arrays in which each array has
more
> > than 60000 entries.
> >
> > The Machine configuration is
> >
> > Xeon 3.0 Processor (Server Mother board) with 4 GB DDR RAM with Windows
> > 2000
> > Server (OS) and SQL server 2000 installed.
> >
> > The memory used by my application is around 267 MB and the memory used
by
> > sql server is aroung 497 MB and the total memory used is around 900 MB
> > including all the other Windows processes. Other than this, no other
> > process
> > are running in that machine.
> >
> > Can anyone please guide me on why this error is coming even though I
have
> > sufficient RAM (4 GB RAM) ?
>
> BTW, using UDTs extensively in vb6 can lead to compile problems if they
> become nested too deeply. I posted an example here of 1 page of code
using
> UDTs that took 1.3gig of ram to compile before crashing.
>
> Michael
>
>
.
- Follow-Ups:
- Re: Out of Memory Problem in VB 6.0 Application.
- From: Michael C
- Re: Out of Memory Problem in VB 6.0 Application.
- From: Someone
- Re: Out of Memory Problem in VB 6.0 Application.
- References:
- Out of Memory Problem in VB 6.0 Application.
- From: Peri
- Out of Memory Problem in VB 6.0 Application.
- Prev by Date: Re: For days I have toiled...
- Next by Date: Re: new version of visual basic is going to be released
- Previous by thread: Out of Memory Problem in VB 6.0 Application.
- Next by thread: Re: Out of Memory Problem in VB 6.0 Application.
- Index(es):
Relevant Pages
|
Loading