Skip to content

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

@TiCeline

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?

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