NO

Author Topic: IDE (6.5rc3): Not Possible to edit big files  (Read 3630 times)

Offline nsp

  • Member
  • *
  • Posts: 15
IDE (6.5rc3): Not Possible to edit big files
« 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.

Offline Vortex

  • Member
  • *
  • Posts: 865
    • http://www.vortex.masmcode.com
Re: IDE (6.5rc3): Not Possible to edit big files
« Reply #1 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?
Code it... That's all...

Offline TimoVJL

  • Global Moderator
  • Member
  • *****
  • Posts: 2115
Re: IDE (6.5rc3): Not Possible to edit big files
« Reply #2 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

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

Same size limit with BigProject.c when using 64-bit version.
« Last Edit: March 12, 2011, 09:44:17 AM by timovjl »
May the source be with you

Offline Stefan Pendl

  • Global Moderator
  • Member
  • *****
  • Posts: 582
    • Homepage
Re: IDE (6.5rc3): Not Possible to edit big files
« Reply #3 on: March 11, 2011, 11:35:14 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.
---
Stefan

Proud member of the UltraDefrag Development Team

Offline Pelle

  • Administrator
  • Member
  • *****
  • Posts: 2266
    • http://www.smorgasbordet.com
Re: IDE (6.5rc3): Not Possible to edit big files
« Reply #4 on: April 17, 2011, 04:18:53 PM »
Try looking for the setting "MaxFileSize", too...
/Pelle