Closed cckozie closed 4 years ago
Notes:
Net Heap usage:
Version 2.1.2 (44c92e9)
Version 2.2.0 (236380d)
Observations:
did not see obvious signs of memory leaks or memory pressure
~did not~ see the crash now and every time now I open wA tool on titus project.
~tried running on Mojave VM with 4GB of ram - did not see crash~
Kos is testing on Mojave Mac with 8GB of ram
DoD: wA screen shows instead of blank screen
@PhotoNomad0 - I am seeing the same problem with my older MacBook. Once I see the failure and after restarting tC, it always crashes when attempting to load the project in wA. I see in the log file an entry stating that contextId.json does not exist. It actually does exist but is empty. Will now test on my Windows machine.
@PhotoNomad0 - It fails on my Windows machine too.
@PhotoNomad0 - I am seeing the same problem with my older MacBook. Once I see the failure and after restarting tC, it always crashes when attempting to load the project in wA. I see in the log file an entry stating that contextId.json does not exist. It actually does exist but is empty. Will now test on my Windows machine.
@cckozie - the empty contextId is concerning, but at least I have a starting point.
Notes:
"wordmap": "0.7.9",
"wordmap-lexer": "0.3.5",
[1] Window main was killed. {
[1] preventDefault: [Function: preventDefault],
[1] sender: WebContents {
[1] webContents: [Circular],
[1] history: [ 'http://localhost:3000/' ],
[1] currentIndex: 0,
[1] pendingIndex: -1,
[1] inPageIndex: -1,
[1] _events: [Object: null prototype] {
[1] 'navigation-entry-commited': [Function],
[1] '-ipc-message': [Function],
[1] '-ipc-invoke': [Function],
[1] '-ipc-message-sync': [Function],
[1] 'pepper-context-menu': [Function],
[1] crashed: [Array],
[1] 'devtools-reload-page': [Function],
[1] '-new-window': [Function],
[1] '-add-new-contents': [Function],
[1] login: [Function],
[1] 'will-navigate': [Function],
[1] 'did-navigate': [Function],
[1] destroyed: [Function],
[1] 'devtools-opened': [Array],
[1] move: [Function],
[1] activate: [Function],
[1] 'page-title-updated': [Function],
[1] 'render-view-deleted': [Array]
[1] },
[1] _eventsCount: 18,
[1] _maxListeners: 0,
[1] browserWindowOptions: {
[1] icon: './TC_Icon.png',
[1] title: 'translationCore',
[1] autoHideMenuBar: true,
[1] minWidth: 1200,
[1] minHeight: 689,
[1] show: false,
[1] center: true,
[1] webPreferences: [Object]
[1] }
[1] }
[1] }
Note:
tC log of the crash: temp-electron-7.log.zip
in electron 3, I was able to go over 31MB without problem.
session storage is saved here: ~/Library/Application Support/translationCore/Session Storage/
Verified in translationCore 2.2.0 (78a80ee)
Not seeing the problem in 2.2.0 (64bf0a5). I was able to load the entire new testament and open each book in each of the tools. (The translationCore helper (Renderer) was showing 734.8 MB after all NT books had been loaded.) Also was able to load the entire OT and open each book in all tools available for it.
Not seeing this issue in 2.2.0 (dd79140) with the attached projects.
2.2.0 (f1fb0cd) Problem was found when testing #6675 6675 projects.zip Tue Apr 28 2020.log.zip
These usfm projects were copied from the catalog about a year ago and have been used for testing ever since. I'm thinking this may have to do with wordMAP since it seems to be project interdependent. To replicate the failure: