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

'memory not mapped' #7

Open
onmikula opened this issue Dec 30, 2018 · 9 comments
Open

'memory not mapped' #7

onmikula opened this issue Dec 30, 2018 · 9 comments

Comments

@onmikula
Copy link

Hi,
I wanted to use bi.clique function on a bit larger data set (matrix of dimension 12481 x 24:
mat_12481x24.txt), but got the following error:

*** caught segfault ***
address 0x111ea6000, cause 'memory not mapped'

The function worked well with fewer columns (matrix of dimension 12481 x 10:
mat_12481x10.txt
), but not with fewer rows (5200 x 24:
mat_5200x24.txt
), although the number of entries was approximately the same in both cases.

Would you be so kind and check what is the problem?
Thank you in advance!

Ondrej

@dpuelz
Copy link

dpuelz commented Jan 4, 2019

Hey, I have a similar issue too, just noted on issue #6 .. hopefully we can get it figured out!

David

@YupingLu
Copy link
Owner

YupingLu commented Jan 4, 2019

Hi all, I'll check the problem later this weekend.

@dpuelz
Copy link

dpuelz commented Jan 10, 2019

Hi all, I'll check the problem later this weekend.

Hey Yuping, thanks for the help! Just curious, have you made any progress on a solution?

@onmikula
Copy link
Author

Hello Yuping,
do you thing the problem is going to be fixed any time soon?
Ondrej

@YupingLu
Copy link
Owner

Hi Ondrej,

Sorry about the delay. I'm busy with multiple things recently. I'll look at it again at the end of this month. Hope the problem will be fixed soon.

Yuping

@onmikula
Copy link
Author

Thank you for your reply. If the problem was fixed, I would appreciate it hugely. It would allow me to use the algorithm where it is possibly most useful (i.e. in graphs with large number of vertices of either type).
Best wishes,
Ondrej

@onmikula
Copy link
Author

Hi Yuping,
are there any news? I have found yet another nice application for the maximal biclique enumeration, so you can see your package is really needed.
Best,
Ondrej

@dpuelz
Copy link

dpuelz commented Feb 15, 2019 via email

@YupingLu
Copy link
Owner

YupingLu commented Apr 7, 2019

Hi Ondrej,

I finally got back to this. R doesn't allow C++ to ouput bicliques to screen. If the number of bicliques is big, R will not have enough memory to store all bicliques. That's why you get this error. I added a new parameter to only get the statistics without storing bicliques. You can get the top bicliques by setting lleast and rleast. If you still want to generate all the bicliques, we also have a C++ version available.

# Only get the statistics
library(biclique)
test=bi.clique('mat_5200x24.txt', getclique=0, filetype=1)

Number of left vertices : 5200
Number of right vertices : 24
Number of edges : 98874
Number of bicliques : 16731423
Maximum edge biclique : K2335,12
Maximum vertex biclique : K4898,1

# Get the maximum edge biclique
test=bi.clique('mat_5200x24.txt', lleast = 2335, rleast = 12, filetype=1)

Yuping

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