Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]


Groups > comp.lang.clipper.visual-objects > #4187

Re: Dynamic Memory of STRING

Newsgroups comp.lang.clipper.visual-objects
Date 2012-09-28 04:52 -0700
References <99ee7ffb-6b91-4846-952b-22f19974d237@googlegroups.com>
Message-ID <083dc41f-2472-40a2-aff2-fd5a1faef093@googlegroups.com> (permalink)
Subject Re: Dynamic Memory of STRING
From Phil bayard <philbayard@gmail.com>

Show all headers | View raw


Le vendredi 28 septembre 2012 13:22:34 UTC+2, Phil bayard a écrit :
> Hi Everyone!
> 
> 
> 
> I have a problem when trying to analyse mail which have size of more than 4 mb.
> 
> I was using Memoread to read mail from .eml file but it did reach limit because of memory. So i writed a MemoRead2 with Fread method and it seems to set the problem of memoread.
> 
> 
> 
> But when i now use a 10mb .eml file, i got in trouble when doing At3 function on my 10mb string during the analysis of the file.
> 
> 
> 
> Maybe i use all the memory during my manipulation (Substr, At3, ... ) on 10mb string and the garbage collector cannot free memory fast enough? 
> 
> 
> 
> Does anyone already had this problem?

In fact, the program crash when i do a lower of my 10mb string. I supposed that the lower function in VO28RUN use some Memoread or some stuff like that. Lets try rewriting a lower method until the next crash ;)

Back to comp.lang.clipper.visual-objects | Previous | Next — Previous in thread | Next in thread | Find similar | Unroll thread


Thread

Dynamic Memory of STRING Phil bayard <philbayard@gmail.com> - 2012-09-28 04:22 -0700
  Re: Dynamic Memory of STRING Phil bayard <philbayard@gmail.com> - 2012-09-28 04:52 -0700
  Re: Dynamic Memory of STRING Phil bayard <philbayard@gmail.com> - 2012-09-28 06:45 -0700
    Re: Dynamic Memory of STRING Phil bayard <philbayard@gmail.com> - 2012-09-28 07:04 -0700
    Re: Dynamic Memory of STRING "Wolfgang Riedmann" <wriedmann@gmail.com> - 2012-09-28 14:29 +0000

csiph-web