Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Errors with set.mm because of setvar? #1

Open
avekens opened this issue Jun 29, 2019 · 4 comments
Open

Errors with set.mm because of setvar? #1

avekens opened this issue Jun 29, 2019 · 4 comments
Assignees

Comments

@avekens
Copy link

avekens commented Jun 29, 2019

(copied from metamath/set.mm#966)
I installed the plugin as described in http://emetamath.tirix.org/, but loading the current set.mm produces errors:
grafik

It seems that the recent change of "set" to "setvar" (see issue #759 in https://github.com/metamath/set.mm) causes problems.

@tirix tirix self-assigned this Dec 1, 2019
@tirix
Copy link
Owner

tirix commented Dec 1, 2019

Hi Alexander,

Sorry I did not answer earlier!
Yes, I had to adapt to the change from "set" to "setvar" to follow with the change in set.mm.
The setting is in your project properties under Metamath properties:
image

@glacode
Copy link

glacode commented Nov 7, 2021

Configuring the "Other Types" as in the picture, fixed the errors.

But when I ctrl+u it , it seems that Eclipse crashes (after a while). I'm trying under Ubuntu.

I've already added

-Xms256m
-Xmx2048m

to eclipse.ini

@glacode
Copy link

glacode commented Nov 15, 2021

Linux warned me that the crash was due to a request for memory, larger than what my VM can provide.

It's a 4 GB virtual machine, where mmj2 runs really fast.

@tirix If I had to take a wild guess, the Proof Explorer could be the part that slows down the start-up process and runs my machine out of memory: is there an option to try Emetamath, without the Proof Explorer part?

Thanks in advance
Glauco

@tirix
Copy link
Owner

tirix commented Nov 16, 2021

Hi Glauco,

Thanks for your interest in the plugin!
I've checked again just now and confirm that I'm running with these options in eclipse.ini:

-Xms256m
-Xmx2048m

However I'm surprised to see Eclipse seems to use 2.35 GB.
So if it fails for you with 2 GB, can you maybe try to increase them? If your MMJ2 works with 4 GB, you could try

-Xms256m
-Xmx4096m

You might even try bigger numbers, to find out what is the limit!

The Proof Explorer works with lazy object creation and will only create the entries if you open them in the view. Commenting it out might not be so easy...

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

No branches or pull requests

3 participants