Pelles C forum

Pelles C => Bug reports => Topic started by: nsp on March 11, 2011, 09:47:55 AM

Title: IDE (6.5rc3): Not Possible to edit big files
Post by: nsp on March 11, 2011, 09:47:55 AM
I cannot open big c file in the editor.
You can try with sqlite3.c from sqlite 3.7.5 amalgamation.

- Parsing is verry slow but succeed.
- openning the file give an error (not enough memory). the file is only 4.3MB and less than 25000 lines.
Title: Re: IDE (6.5rc3): Not Possible to edit big files
Post by: Vortex on March 11, 2011, 07:59:36 PM
Hi nsp,

Attached is a synthetic C code built with Pelles C V6.50 RC3. The source code has 210000 lines with a size of 5127 Kb. Parsing is a bit slow but opening and saving the file does not produce any error. What is your processor speed and system memory?
Title: Re: IDE (6.5rc3): Not Possible to edit big files
Post by: TimoVJL on March 11, 2011, 08:16:25 PM
Tested with Win 7 x64 and sqlite.c 3.7.5
Error when opening that file:
v 6.0 32-bit yes
v 6.0 64-bit yes
v 6.5 32-bit no
v 6.5 64-bit yes

BTW:
sqlite.c is UTF-8 file with LF's

EDIT:
Limits in sqlite.c 3.7.5
http://www.sqlite.org/sqlite-amalgamation-3070500.zip (http://www.sqlite.org/sqlite-amalgamation-3070500.zip)

size 3,99 Mt (4 190 208 bytes)
line 118175
col 28

Same size limit with BigProject.c when using 64-bit version.
Title: Re: IDE (6.5rc3): Not Possible to edit big files
Post by: Stefan Pendl on March 11, 2011, 11:35:14 PM
Quote from: timovjl on March 11, 2011, 08:16:25 PM
BTW:
sqlite.c is UTF-8 file with LF's

So converting to Unicode and Windows line endings could get rid of the problem.
Title: Re: IDE (6.5rc3): Not Possible to edit big files
Post by: Pelle on April 17, 2011, 04:18:53 PM
Try looking for the setting "MaxFileSize", too...