Re: Out of Memory Problem in VB 6.0 Application.



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
>
>


.



Relevant Pages

  • Re: out of memory
    ... You don't need much memory. ... With only 36000 entries, you can trivially work in double precision. ... You don't need to modify CSparse to solve this problem. ...
    (comp.soft-sys.matlab)
  • Strange breakage on amd64 RELENG_6
    ... *** Error code 1 ... L1 2MB instruction TLB: 8 entries, ... Physical memory chunk: ...
    (freebsd-questions)
  • Re: Kernel panic: Route cache, RCU, possibly FIB trie.
    ... My theory is that it is related to the route cache ... One of the crashed was caused by out of memory, but all the memory was allocated through slab. ... On this machine, rigth now, between 14000 to 60000 entries in the route cache. ... All the entries are freed via RCU which due to the deferred delete ...
    (Linux-Kernel)
  • Re: Auto correct
    ... problems in Word are often caused by low memory resources -- rebooting ... refreshes that memory. ... The number of AutoText entries is only limited by hard drive space. ... > state and zip for Dr. B Jones followed by a space and Dr. C ...
    (sci.med.transcription)
  • Re: Not so spontaneous reboots
    ... memory subsystems just as hard w/o impacting the HD. ... If Prime95 runs for several hours and nothing happens, ... memory error, the system can do almost anything, even reboot spontaneously. ... > three blank entries in the run section of the registry. ...
    (microsoft.public.windowsxp.general)

Loading