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

Segmentation fault (core dumped) #3

Open
Lihengwannafly opened this issue Aug 26, 2019 · 3 comments
Open

Segmentation fault (core dumped) #3

Lihengwannafly opened this issue Aug 26, 2019 · 3 comments

Comments

@Lihengwannafly
Copy link

./node2vec -input /data/ECommAI/round1_b/user_item.bcsr -output embedding.bin -dim 64
I use this command, but the following error occurs:

nv: 985597, ne: 69327988
Segmentation fault (core dumped)

32GB memory

@xgfs
Copy link
Owner

xgfs commented Aug 26, 2019

Hi! It may be that there are more second-order degrees than the system can allocate. Can you make a quick check that deepwalk-c (from the other repository) runs on that data?

@akastrin
Copy link

Hi,
I have the same problem with your node2vec implementation. deepwalk-c works just fine on the same dataset. Any idea what to do?

@xgfs
Copy link
Owner

xgfs commented Oct 21, 2019

Hi! Does it calculate the amount of memory needed for the second-order probability tables? Corresponding line: https://github.com/xgfs/node2vec-c/blob/master/node2vec.cpp#L403

If yes, it may be just the nature of node2vec: for graphs with large star-like patterns it requires cubic memory.

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