On Thu, Nov 17, 2016 at 11:43 AM, Arnaud de Montard <arn...@init5.fr> wrote:
> huge text in a text array makes it much easier to manipulate, but, at the > end, 4D memory is the same. In my example of 6,6Gb file, it was not a > solution. Also it might be creation of array. Remember that every time 4D resizes an array especially bigger, it looks for a block of memory that can hold it all. In effect copying array over and over Think of it this way Array text($Somtext;0) insert element($Somtext;size of array(Somtext)+1) $Somtext{size of array(Somtext)}:="bkjbkjbkb" `copy one insert element($Somtext;size of array(Somtext)+1) $Somtext{size of array(Somtext)}:="bkjbkjbkb" `copy two etc each looking for larger chunks of continuos memory Regards Chuck -- ----------------------------------------------------------------------------------------- Chuck Miller Voice: (617) 739-0306 Fax: (617) 232-1064 Informed Solutions, Inc. Brookline, MA 02446 USA Registered 4D Developer Providers of 4D, Sybase & SQL Sever connectivity http://www.informed-solutions.com ----------------------------------------------------------------------------------------- This message and any attached documents contain information which may be confidential, subject to privilege or exempt from disclosure under applicable law. These materials are intended only for the use of the intended recipient. If you are not the intended recipient of this transmission, you are hereby notified that any distribution, disclosure, printing, copying, storage, modification or the taking of any action in reliance upon this transmission is strictly prohibited. Delivery of this message to any person other than the intended recipient shall not compromise or waive such confidentiality, privilege or exemption from disclosure as to this communication. ********************************************************************** 4D Internet Users Group (4D iNUG) FAQ: http://lists.4d.com/faqnug.html Archive: http://lists.4d.com/archives.html Options: http://lists.4d.com/mailman/options/4d_tech Unsub: mailto:4d_tech-unsubscr...@lists.4d.com **********************************************************************