Isn’t it a memory leak with OOM?
# announcements
o
Isn’t it a memory leak with OOM?
g
orangy: whats OOM? Is there something I can do to make kotlinc's life easier?
o
OutOfMemoryException 🙂
g
oh lol
but yeah thats what its looking like
the code generated appears to have some kind of nasty complexity between the number of recievers deep it is
if you look at the second chunk of the generated code its a wall of
$LOCALVARIABLE
asm stuff, far more than I would think necessary to run the relatively small block of source code its generating for
but that could be a misnomer, I've never written a line of jbc by hand and Im certainly no expert
o
you could minimize it down to some repro and submit an issue, we will look
g
you dont think the gist i uploaded has enough information?
it reads to me like somebody's written an O(n^2) memory complexity component in code with reciever lambda's
o
Gist doesn't have an "assignee field" ;)
kotl.in/issue is where team works, so we ask to put requests there.
g
alright well ill throw what I have up there
I really don't want to wrangle this down to an SSCCE because im pretty sure thats going to involve a lot of aggressive tuning of the JVM and its memory
run it with a max heap of 1MB
kind''ve thing
o
Post here a link when you're done
g
Can I ask somebody at JB to take a cursory look at this for me? Its a real pain in the ass and my only current solution is to drop the relevant file from the build process.
o
You already asked by submitting an issue. It was assigned to a developer and he will take a look.