Hello BenoƮt,

I found another strange behaviour:

==== snip
Dim i As Long
Dim s As String

s = "1234567890abcdefghij1234567890abcdefghij1234567890abcdefghij1234567890abcdefghij1234567890abcdefghi"
' s has 99 Bytes plus the "\n", so we have 100Bytes for each line

  For i = 1 To 1000
    TextArea1.Text &= s & "\n"
  Next
==== snip

This builts a TextArea1.Text that has a length of 100kB.
In my RAM it allocates app. 130MB!

My fault or did I find a bug?

ExampleProject and sysinfo in the attachment!

Greetings from Bavaria

Wolfgang

Attachment: test.tar.gz
Description: GNU Zip compressed data

------------------------------------------------------------------------------
CenturyLink Cloud: The Leader in Enterprise Cloud Services.
Learn Why More Businesses Are Choosing CenturyLink Cloud For
Critical Workloads, Development Environments & Everything In Between.
Get a Quote or Start a Free Trial Today. 
http://pubads.g.doubleclick.net/gampad/clk?id=119420431&iu=/4140/ostg.clktrk
_______________________________________________
Gambas-user mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/gambas-user

Reply via email to