Skip to content

Browser crashes (CPU 100%) with big files #34

Description

@TiCeline

Hi,

reader.onload = function (evt) {
		try {
			const buffer = evt.target.result;
			const msgReader = new MSGReader(buffer);
			const fileData = msgReader.getFileData(); // <--- HERE

Firefox and Chrome crashes/hangs (100% CPU) when it comes to parsing large files and it does not seem to recover.
Maybe endless loop?

I think the point where it happens is between 9 and 10 MB.

Is there a workaround?

Activity

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

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions