Skip to content
This repository has been archived by the owner on Jun 8, 2023. It is now read-only.

Min memory for dragos. #93

Open
shoorlyne opened this issue Nov 5, 2018 · 1 comment
Open

Min memory for dragos. #93

shoorlyne opened this issue Nov 5, 2018 · 1 comment

Comments

@shoorlyne
Copy link

This issue seems to suggest that the total memory required to run a dragos LS is 768MB (by coursier) + ~500MB (dragos) =1.3GB. Is that still the case?

I'd like to use dragos in my project, but our memory is a bit constrained. We can't afford to shell out 1.3GB memory for this feature. The amount of memory we can allocate for a LS is 500MB at the moment.

Do you think it's possible to lower memory consumption for dragos?

Thanks!

@dragos
Copy link
Owner

dragos commented Nov 5, 2018

Memory requirements come from the underlying engine, ensime. It's been bothering me for a while, but without a heavy rewrite I don't think it's possible. However, if your project is small enough you could just see what happens if you give it only 500M (I think that's on the very small side even for the Scala compiler itself, but you can try)

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants