Google Groups no longer supports new Usenet posts or subscriptions. Historical content remains viewable.
Dismiss

INI file size

1 view
Skip to first unread message

Lee Jay Karns

unread,
Apr 21, 2005, 11:47:22 AM4/21/05
to
Does anyone know if there is a file size limitation on ini files?

Regards,
Lee
--------------------
office:440.333.5271
mobile:440.227.5719
fax:440.356.0978
--------------------

Denny Dedmore

unread,
Apr 21, 2005, 12:03:05 PM4/21/05
to
I'd say 64K...since that is the source of an old bug in the AutoPackager
which tripped up packaging a large project. It may be very possible that
W95/98 had a 64K limit and that limit was lifted in new OSs ... I don't
recall the details.

Note the old AutoPackager bug was fixed by not having the AutoPackager user
standard getIni and setIni functions to read and write to the ASU file
(which is an INI file). Instead C based functions were written to manually
parse the file as if it were just a text file and not an INI file.

Denny

Lee Jay Karns

unread,
Apr 21, 2005, 12:25:40 PM4/21/05
to
Thanks Denny.

Regards,
Lee
--------------------
office:440.333.5271
mobile:440.227.5719
fax:440.356.0978
--------------------

Simon Price

unread,
Apr 21, 2005, 4:03:57 PM4/21/05
to
They get really slow if you let them get too big because it reparses and
rewrites the whole file for each update you make. That's why I set up a
separate cache book in the catalog engine - the ini files got too slow.
Also, the catalog writes the init file out using writeFile if I remember
rightly (it was a long while ago!) - again, for speed.

Simon

Lee Jay Karns wrote:
> Does anyone know if there is a file size limitation on ini files?
>
> Regards,
> Lee
> --------------------
> office:440.333.5271
> mobile:440.227.5719
> fax:440.356.0978
> --------------------


--

---------------------------------------------------------------------
Simon Price, Senior Technical Researcher, Internet Development Group
Institute for Learning and Research Technology, University of Bristol
http://www.ilrt.bris.ac.uk/aboutus/staff?search=ecsnp

LAOT Serge

unread,
Apr 21, 2005, 4:29:04 PM4/21/05
to
Le jeudi 21 Avril 2005 18:23, Lee Jay Karns a écrit :

On W98, the limits are :
1024 bytes for a value,
64 kB for the file (over the file is merely cut).

On NT4-XP, I've got no limit except due to the disk space (and time of
course).

Serge

> Thanks Denny.


>
> Regards,
> Lee
> --------------------
> office:440.333.5271
> mobile:440.227.5719
> fax:440.356.0978
> --------------------
>

> -----Original Message-----
> From: ToolBook Discussion List
> [mailto:tool...@LISTSERV.PLATTECANYON.COM]On Behalf Of Denny Dedmore
> Sent: Thursday, April 21, 2005 12:02 PM
> To: tool...@LISTSERV.PLATTECANYON.COM
> Subject: Re: INI file size
>
>
> I'd say 64K...since that is the source of an old bug in the AutoPackager
> which tripped up packaging a large project. It may be very possible that
> W95/98 had a 64K limit and that limit was lifted in new OSs ... I don't
> recall the details.
>
> Note the old AutoPackager bug was fixed by not having the AutoPackager user
> standard getIni and setIni functions to read and write to the ASU file
> (which is an INI file). Instead C based functions were written to manually
> parse the file as if it were just a text file and not an INI file.
>
> Denny
>
> -----Original Message-----
> From: ToolBook Discussion List [mailto:tool...@LISTSERV.PLATTECANYON.COM]
> On Behalf Of Lee Jay Karns
> Sent: Thursday, April 21, 2005 8:34 AM
> To: tool...@LISTSERV.PLATTECANYON.COM
> Subject: INI file size
>

Lee Jay Karns

unread,
Apr 21, 2005, 5:06:26 PM4/21/05
to
Interesting. Thanks Simon.

Regards,
Lee
--------------------
office:440.333.5271
mobile:440.227.5719
fax:440.356.0978
--------------------

-----Original Message-----
From: ToolBook Discussion List
[mailto:tool...@LISTSERV.PLATTECANYON.COM]On Behalf Of Simon Price
Sent: Thursday, April 21, 2005 4:01 PM
To: tool...@LISTSERV.PLATTECANYON.COM
Subject: Re: INI file size

They get really slow if you let them get too big because it reparses and
rewrites the whole file for each update you make. That's why I set up a
separate cache book in the catalog engine - the ini files got too slow.
Also, the catalog writes the init file out using writeFile if I remember
rightly (it was a long while ago!) - again, for speed.

Simon

Lee Jay Karns wrote:
> Does anyone know if there is a file size limitation on ini files?
>
> Regards,
> Lee
> --------------------
> office:440.333.5271
> mobile:440.227.5719
> fax:440.356.0978
> --------------------

0 new messages