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

Crash with "killed" statement #101

Open
wsargent opened this issue Jul 8, 2023 · 2 comments
Open

Crash with "killed" statement #101

wsargent opened this issue Jul 8, 2023 · 2 comments

Comments

@wsargent
Copy link

wsargent commented Jul 8, 2023

Problem statement

The application is very slow and crashes around this line:

2023/07/07 22:35:06 [DEBUG] Saving file inbasket/Fwd-[Crypto-ops]_Recommendations_for_TLS_between_haproxy_and_nginx?.md
[1]    186716 killed     $HOME/bin/evernote2md --debug 'AAA - Inbasket.enex' inbasket

How do I build this? I have IntelliJ IDEA and assuming I can add log statements I can track this down a bit.

The file's about 1.6 GB.

@wsargent
Copy link
Author

wsargent commented Jul 8, 2023

I think the problem is that the size is such that it runs into an OS or program limit:

	log.Printf("[DEBUG] Saving file %s/%s", path, title)
	if err := file.Save(path, title, bytes.NewReader(md.Content)); err != nil {
		return fmt.Errorf("save file %s: %w", path+"/"+title, err)
	}

@wormi4ok
Copy link
Owner

Hey @wsargent , you can definitely try to build the app yourself and narrow down the problem. To build it you will need to install go toolchain and run go build in the project root.

As a workaround, I would suggest trying one of the older version, v0.18.2 for example. The decoding logic was changed in the latest release and there could be regressions in term of performance and memory management.

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

2 participants