You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I am attempting to compile a generated Scala project (its a wsdl SOAP API which generates .scala sources, which are then compiled), and I am getting the following error
One important thing to note, is that the generated scala sources are huge (it generates 3891 scala sources, some of those files end up having > 100k lines of source code). To generate the Scala sources themselves, it takes around 2-3 hours, and to compile the sources it takes around 5 hours (with the following SBT arguments so it doesn't run out of memory)
There is a github issue for this on scala-xb (eed3si9n/scalaxb#234 (comment)), however this appears to be strictly a scala compiler problem, probably due to a corner case of compiling such a huge number of sources.
Note that I do have the .wsdl sources/SBT project in question, however I can't share it publicly because its a private API. I can however provide a private link to download the SBT project to whoever is working on the issue.
The text was updated successfully, but these errors were encountered:
The array size is being statically set to 256, which is probably too small for the size of the Scala code that is being compiled, maybe making it larger/allowing it to be set/ using something like Integer.MAX_VALUE-10 would solve the problem?
EDIT: Have also added an issue on scala-asm github, link is here scala/scala-asm#8
I am attempting to compile a generated Scala project (its a wsdl SOAP API which generates .scala sources, which are then compiled), and I am getting the following error
https://gist.github.com/mdedetrich/069a9b506eb6b7ff01ed
One important thing to note, is that the generated scala sources are huge (it generates 3891 scala sources, some of those files end up having > 100k lines of source code). To generate the Scala sources themselves, it takes around 2-3 hours, and to compile the sources it takes around 5 hours (with the following SBT arguments so it doesn't run out of memory)
There is a github issue for this on scala-xb (eed3si9n/scalaxb#234 (comment)), however this appears to be strictly a scala compiler problem, probably due to a corner case of compiling such a huge number of sources.
Note that I do have the .wsdl sources/SBT project in question, however I can't share it publicly because its a private API. I can however provide a private link to download the SBT project to whoever is working on the issue.
The text was updated successfully, but these errors were encountered: