Re: Reason for DEFAULT_MAX_FILE_COUNT = 1000

Dominik Stadler <[email protected]> Mon, 15 Sep 2025 09:49:17 +0200
Newsgroups gmane.comp.jakarta.poi.user
Message-ID <CABdJj57-7HjUuzGh0h=SskLXQPCb7HNcNsbjn3GAmxCJfDzvWQ@mail.gmail.com>
--0000000000005221db063ed23e1c
Content-Type: text/plain; charset="UTF-8"
Content-Transfer-Encoding: quoted-printable

Hi,

While 1000 is likely a bit arbitrary and has no actual reason compared to
other values, we usually set such limits so that all the "normal" documents
can be parsed fine, i.e. ideally only few cases should require custom
adjustment of the limit.

Thanks... Dominik.


On Tue, Sep 9, 2025 at 11:04=E2=80=AFAM Jiri Hofman (Nokia)
<[email protected]> wrote:

> Hello!
>
> I am wondering what the reason behind putting a default limit
>
> DEFAULT_MAX_FILE_COUNT =3D 1000
> in
> https://apache.googlesource.com/poi/+/a6a37bd0f012a4ccfca3760418bf53ca5da=
65a4c%5E%21/
> was.
>
> Why 1000?
>
> I am aware of a possibility to override the limit. I am interested in the
> reason which is not documented to get some hint for the override.
>
> Thank you for a clarification!
>
> Best regards,
>
> Jiri Hofman
>
>

--0000000000005221db063ed23e1c--