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

Hangs on MacOSX 10.7 and 10.8 #1

Open
clwaters opened this issue Jul 26, 2012 · 7 comments
Open

Hangs on MacOSX 10.7 and 10.8 #1

clwaters opened this issue Jul 26, 2012 · 7 comments

Comments

@clwaters
Copy link

Seems to be running out of memory.

$./bin/FileDuplicateFinderUI
Jul 26, 2012 4:26:55 PM org.apache.commons.logging.Log$info call
INFO: Loaded i18n resources
Jul 26, 2012 4:26:55 PM org.apache.commons.logging.Log$warn call
WARNING: No adapter found for file null
nfs server localhost:/K8rL2grEn3U5i8Ej2-NEU1: not responding
nfs server localhost:/K8rL2grEn3U5i8Ej2-NEU1: not responding
nfs server localhost:/K8rL2grEn3U5i8Ej2-NEU1: not responding
nfs server localhost:/K8rL2grEn3U5i8Ej2-NEU1: not responding
nfs server localhost:/K8rL2grEn3U5i8Ej2-NEU1: not responding
nfs server localhost:/K8rL2grEn3U5i8Ej2-NEU1: not responding
nfs server localhost:/K8rL2grEn3U5i8Ej2-NEU1: not responding
nfs server localhost:/K8rL2grEn3U5i8Ej2-NEU1: not responding
^C
^CJava HotSpot(TM) 64-Bit Server VM warning: Exception java.lang.OutOfMemoryError occurred dispatching signal Unknown Signal to handler- the VM may need to be forcibly terminated
Java HotSpot(TM) 64-Bit Server VM warning: Exception java.lang.OutOfMemoryError occurred dispatching signal Unknown Signal to handler- the VM may need to be forcibly terminated

@guicamest
Copy link
Owner

Can you provide me with the version you are using and what were you doing when this happened?
Latest is v1.2.0.
Thx

@clwaters
Copy link
Author

Sure. I launched the application and picked a few directories for it to look for duplicates in. It seems to start but it never displays the suspend, resume buttons like it did on the linux version I tried. The zip file I downloaded says 1.2.0 but the about menu item shows v1.1.1. Eventually, the OS thinks that the app is not responding. I'm happy to provide debugging output if you can provide instructions on how to provide it.

@guicamest
Copy link
Owner

That's weird...
Did you downloaded it from http://sourceforge.net/projects/gdupfinder/files/maccocoa64/GDuplicateFinder-1.2.0.zip/download ??
Stacktrace shows you have a 64bit jvm, you downloaded the maccocoa64 right?

Directories you selected are local files or on your network? If they are on your network, what kind of share is it? SMB, SSH ??

Are you trying with the same folders as you did with the linux version?
Does it work if you select to find duplicates in another set of folders?

@guicamest
Copy link
Owner

Just downloaded it and it shows the right version. Can you try downloading it again?

@clwaters
Copy link
Author

I suspect I have found part of the issue. It looks like the way the filesystem hierarchy is parsed by your app, there is a recursion problem. Not sure how familiar you are with OSX, but it seems that when you parse / it will contain /Volumes (as it should), which in turn contains the volume that / is actually a part of. It looks like I could navigate recursively forever by expanding /Volumes/Macintosh HD (or any mounted volume for that matter) and then Volumes/Macintosh HD again and again. If I could upload an image, I could show you what I am seeing. That said, there may an additional issue. I selected the Applications folder to run a scan on. The buttons never displayed, and the size displayed for the files detected was greatly exceeding the actual size of the folder. Unless there is another recursion somewhere that I didn't find, that may also be an issue.

I did pull down a fresh copy but the About menu item still shows v1.1.1 but the Check for Update item shows no updates were found, so maybe it's just displaying the wrong version.

@clwaters
Copy link
Author

I took a screen capture so I could better show the behavior. http://youtu.be/LeWNTFgFen4 It's a little fuzzy but I think you'll get the idea.

@guicamest
Copy link
Owner

Nice video! Yeap, totally a recursion problem.
About the versions, when you downloaded the app, did you delete the already existing folder? It's too weird.
I'll have a look at what happens if Applications folder is selected to be scanned.
Good debugging man, thx!

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

No branches or pull requests

2 participants