Hi Waldek! Thanks for the rapid answer!
I have: )lisp (lisp-implementation-version) 2.1.11.debian )lisp (sb-ext:dynamic-space-size) 1073741824 )version FriCAS 2022-07-16 compiled at Fr 12 Aug 2022 15:17:27 CEST I'm currently compiling the ECL version. Unfortunately, because of the MacOS problem (https://github.com/sagemath/sage/pull/37041) most sage users won't use the newest FriCAS. So I'll first check whether that makes a difference. Martin On Thursday 18 April 2024 at 18:11:21 UTC+2 Waldek Hebisch wrote: > On Thu, Apr 18, 2024 at 08:45:53AM -0700, 'Martin R' via FriCAS - computer > algebra system wrote: > > I started to look into one of the problems > > (https://github.com/sagemath/sage/issues/37813): > > > > res := integrate((x^2+1)^(1/2)/(x^2+(x+(x^2+1)^(1/2))^(1/2)), x); > > > > works nicely, but converting to InputForm (which I use to do the > > translation to sage) fails. Is there a good reason for that - i.e., is > > this a bug, or just a problem with memory? > > > > Best wishes, > > > > Martin > > > > (2) -> inform := res :: INFORM > > > > Heap exhausted during garbage collection: 0 bytes available, 16 > requested. > <snip> > > Total bytes allocated = 1072734880 > > Dynamic-space-size bytes = 1073741824 > > For me it works. The result is big for humans, but should be no > problem for modern computers. I am using FriCAS trunk build > using sbcl-1.2.4 (currently with 3Gb limit). Tried also version > with 2Gb limit and sbcl-2.2.9 with 1Gb limit. Note > I did: > > res := integrate((x^2+1)^(1/2)/(x^2+(x+(x^2+1)^(1/2))^(1/2)), x); > ii := res::InputForm; > > that is I am _not_ printing resulting InputForm. But I also > separately printed the InputForm, it works, just is slow when > printing to terminal and useless because the result is much > bigger than terminal scrollback buffer. > > -- > Waldek Hebisch > -- You received this message because you are subscribed to the Google Groups "FriCAS - computer algebra system" group. To unsubscribe from this group and stop receiving emails from it, send an email to fricas-devel+unsubscr...@googlegroups.com. To view this discussion on the web visit https://groups.google.com/d/msgid/fricas-devel/750d8c7e-d26a-4610-bc25-c3ac8c4a7987n%40googlegroups.com.