you can prevent formatting output to session, eg

$1!:1 <'mybigfile.csv'
or
a=: 1!:1 <'mybigfile.csv'

to confirm 1!:1 works or not.

On Tue, Dec 17, 2019, 10:27 PM Ric Sherlock <[email protected]> wrote:

> 1!:1 <'mybigfile.csv'
> returns a limit error on J901 but completes successfully on j64_807.
>
> On Tue, Dec 17, 2019 at 9:56 PM bill lam <[email protected]> wrote:
>
> > does 1!:1 work?
> >
> > On Tue, Dec 17, 2019, 1:09 PM Ric Sherlock <[email protected]> wrote:
> >
> > > I have run into a difference between J901 and J807 that I hadn't come
> > > across before when dealing with large (~7GB) files.
> > >
> > > In both versions I can see the file
> > >    fexist 'mybigfile.csv'
> > > 1
> > >    fsize 'mybigfile.csv'
> > > 7516003225
> > >
> > > I can also read the beginning the file in both versions
> > >    $freads 'mybigfile.csv';0 2000
> > > 2001
> > >
> > > However if I try to read the whole file, J807 works, where J901 returns
> > > immediately with 256{a.
> > >    $freads 'mybigfile.csv'  NB. J807
> > > 7516003225
> > >    $freads 'mybigfile.csv'  NB. J901
> > >
> > > This feels like a 64 bit issue or similar but I wouldn't have thought
> > that
> > > should be an issue? Any ideas?
> > >
> > >    JVERSION
> > > Engine: j901/j64avx2/linux
> > > Release-a: commercial/2019-12-12T12:44:48
> > > Library: 9.01.18
> > > Platform: Linux 64
> > > Installer: J901 install
> > > InstallPath: /opt/j/j901
> > > Contact: www.jsoftware.com
> > >
> > >    JVERSION
> > > Engine: j807/j64/linux
> > > Release-d: commercial/2019-03-18T12:11:49
> > > Library: 8.07.26
> > > Platform: Linux 64
> > > Installer: J807 install
> > > InstallPath: /opt/j/j64_807
> > > Contact: www.jsoftware.com
> > > ----------------------------------------------------------------------
> > > For information about J forums see http://www.jsoftware.com/forums.htm
> > >
> > ----------------------------------------------------------------------
> > For information about J forums see http://www.jsoftware.com/forums.htm
> >
> ----------------------------------------------------------------------
> For information about J forums see http://www.jsoftware.com/forums.htm
>
----------------------------------------------------------------------
For information about J forums see http://www.jsoftware.com/forums.htm

Reply via email to