motiko / sfdc-debug-logs

Browser extension for Salesforce logs management
http://motiko.github.io/sfdc-debug-logs/
MIT License
31 stars 12 forks source link

Chrome tab crashing on windows 10 #19

Open awalia111 opened 3 years ago

awalia111 commented 3 years ago

Hi,

When we open a log file in finest which spans over 19 mb, chrome tab crashes "Ahh snap". On MAC this does not happen. It happens on windows machine.

Regards, Ankit Walia

motiko commented 3 years ago

Hi, thanks for reporting it. I currently don't have access to windows machine. Can you see what is the reason for the crash? Try openning a smaller log , for example 10MB and see what eats up memory. You can use chrome dev tools for that.

awalia111 commented 3 years ago

Hello,

Small log files opens fine, the issue is with some big ones. If we add --js-flags="--max_old_space_size=4096" to chrome shortcut and then open, it loads post 12-15 mins.

In the debugger I can see its crashing at below function Screenshot 2021-06-07 210649

rdugg commented 3 years ago

Not sure if it would help, but Microsoft has a prebuilt, downloadable Windows 10 trial VMs for development such as this: https://developer.microsoft.com/en-us/windows/downloads/virtual-machines/

They offer a download for vmware, hyper-v, virtualbox, and parallels

Best Regards, Robert Duggan