• An known size limitation in Win 10 when storing object STB+FileStream

    From Sanjay Minni@21:1/5 to All on Fri Aug 20 21:12:25 2021
    Hi,

    using Win 10 and Dolphin 7.1.20 (32 bit off course)

    Are there any known limitation when storing Objects serialized into a disk file, like as mentioned in the help example:

    S := FileStream write:'Test.STB' text: false.
    (STBOutFiler on: S) nextPut: X; S close.

    ... I was thinking of the long back Win32 4gb limitation in some cases if relevant.

    also is there a way to quickly switch between binary form and some sort of near textual form, of the files stored, just to verify what is being stored. Without disturbing much code

    Thanks
    Sanjay

    --- SoupGate-Win32 v1.05
    * Origin: fsxNet Usenet Gateway (21:1/5)
  • From john.aspinall@gmail.com@21:1/5 to sanjay...@gmail.com on Sat Aug 21 05:05:19 2021
    Hi Sanjay - I'm not aware of any limits on STB file size beyond the OS file size limit you mention.

    Regarding your second question, STON can be used to serialize objects in a text-based format (STON is essentialy a superset of JSON). See the STON-Core package comment for more details.

    Regards,

    John Aspinall



    On Saturday, August 21, 2021 at 5:12:26 AM UTC+1, sanjay...@gmail.com wrote:
    Hi,

    using Win 10 and Dolphin 7.1.20 (32 bit off course)

    Are there any known limitation when storing Objects serialized into a disk file, like as mentioned in the help example:

    S := FileStream write:'Test.STB' text: false.
    (STBOutFiler on: S) nextPut: X; S close.

    ... I was thinking of the long back Win32 4gb limitation in some cases if relevant.

    also is there a way to quickly switch between binary form and some sort of near textual form, of the files stored, just to verify what is being stored. Without disturbing much code

    Thanks
    Sanjay

    --- SoupGate-Win32 v1.05
    * Origin: fsxNet Usenet Gateway (21:1/5)
  • From Sanjay Minni@21:1/5 to john.a...@gmail.com on Sat Aug 21 07:08:16 2021
    Hi John,

    is the 4gb size limitation still persisting with Windows 10.
    Does anybody have experience with storing STB files larger than 4gb - how much has anybody gone upto.

    regards
    Sanjay

    On Saturday, 21 August, 2021 at 5:35:20 pm UTC+5:30, john.a...@gmail.com wrote:
    Hi Sanjay - I'm not aware of any limits on STB file size beyond the OS file size limit you mention.

    Regarding your second question, STON can be used to serialize objects in a text-based format (STON is essentialy a superset of JSON). See the STON-Core package comment for more details.

    Regards,

    John Aspinall
    On Saturday, August 21, 2021 at 5:12:26 AM UTC+1, sanjay...@gmail.com wrote:
    Hi,

    using Win 10 and Dolphin 7.1.20 (32 bit off course)

    Are there any known limitation when storing Objects serialized into a disk file, like as mentioned in the help example:

    S := FileStream write:'Test.STB' text: false.
    (STBOutFiler on: S) nextPut: X; S close.

    ... I was thinking of the long back Win32 4gb limitation in some cases if relevant.

    also is there a way to quickly switch between binary form and some sort of near textual form, of the files stored, just to verify what is being stored. Without disturbing much code

    Thanks
    Sanjay

    --- SoupGate-Win32 v1.05
    * Origin: fsxNet Usenet Gateway (21:1/5)
  • From Sanjay Minni@21:1/5 to john.a...@gmail.com on Sat Aug 21 07:34:34 2021
    Hi John,

    Just wanted to recheck if there is any 4gb size limitation (Windows 10). (I really do not know if it was ever there earlier for STB+Filestream)
    Does anybody have experience with storing STB files / individual objects larger than 4gb - how much has anybody gone upto.
    This could be critical for my application.

    regards
    Sanjay



    On Saturday, 21 August, 2021 at 5:35:20 pm UTC+5:30, john.a...@gmail.com wrote:
    Hi Sanjay - I'm not aware of any limits on STB file size beyond the OS file size limit you mention.

    Regarding your second question, STON can be used to serialize objects in a text-based format (STON is essentialy a superset of JSON). See the STON-Core package comment for more details.

    Regards,

    John Aspinall
    On Saturday, August 21, 2021 at 5:12:26 AM UTC+1, sanjay...@gmail.com wrote:
    Hi,

    using Win 10 and Dolphin 7.1.20 (32 bit off course)

    Are there any known limitation when storing Objects serialized into a disk file, like as mentioned in the help example:

    S := FileStream write:'Test.STB' text: false.
    (STBOutFiler on: S) nextPut: X; S close.

    ... I was thinking of the long back Win32 4gb limitation in some cases if relevant.

    also is there a way to quickly switch between binary form and some sort of near textual form, of the files stored, just to verify what is being stored. Without disturbing much code

    Thanks
    Sanjay

    --- SoupGate-Win32 v1.05
    * Origin: fsxNet Usenet Gateway (21:1/5)