Đã hoàn thành

Document and Fix Memory Leak in existing Electron App

General Setup / Briefing


This Electron App generally consists of 3 major parts.

The renderer process starts the main part which is in [login to view URL], then

1) Communication with a NodeJS RestAPI Server happens via [login to view URL]

2) A Tokbox WebRTC Session is established via [login to view URL] when a user connects with Browser to the electron app. This part ([login to view URL]) uses the Tokbox API by using the node module @opentok/client. The electron app streams two cameras.

3) The Hardware is interfaced via hardware-interface.js. The electron app runs on a mini pc that is connected to a driving motor and a servo motor that moves the head of the device where the main camera is attached.

Problem - Memory Leak


There is a test script (that can be provided by me) that runs for about 5h simulating users connecting to the electron app moving motors, moving head, streaming cams for a few seconds more and then disconnect. After another few seconds this process restarts.

By running the above test I have monitored growing memory usage by this electron app. There is a memory leak.

Temporary quick fix for now after each connection I do:

[login to view URL]();

[login to view URL](0);

...which restarts the electron app.

==> I think this cleans the memory, right?



1) a) Monitor / Debug where the memory leak comes from.

1) b) Also, confirm that:

[login to view URL]();

[login to view URL](0);

...within function relaunchApp() (find this function in [login to view URL]) definitely frees the memory and this quick fix is working.

Please put (j s x) before the title of your proposal starts. I need to see if you read my specs in detail. Thank you. Back to the description:

2) After first investigations there are indicators showing that memory leaks are existing in the Tokbox API. Investigate this issue and fix memory leak, or make memory leak manageable within the application. Do NOT change Tokbox's [login to view URL] ! Because even we have a temporary fix in [login to view URL] this will not be sustainable after next releases.

3) Document occurrences of memory leak in detail and send it to me. I will open a detailed GitHub issue on Tokbox.

4) Find, document and fix other memory leaks (if existing) within the application that is on my part (not within [login to view URL])

Kĩ năng: Javascript, node.js

Xem nhiều hơn: electron high memory usage, node js memory leak, javascript memory leak tool, react find memory leak, jquery memory leak, electron memory leak, javascript memory leak, chrome memory leak detector, freelancer memory leak, windows service process memory leak, memory leak 100 spikes, iphone app memory leak, fix iphone memory leak, wordpress memory leak fix, wpf memory leak fix, fix memory leak wpf application, memory leak fix, help fix a simple issue with an existing android app, how to fix a memory leak, internet explorer 11 memory leak fix

Về Bên Thuê:
( 2 nhận xét ) Zurich, Switzerland

ID dự án: #19796448

Được trao cho:


Ready to start! ....................................................................................................

$166 USD trong 7 ngày
(13 Đánh Giá)

11 freelancer đang chào giá trung bình $145 cho công việc này


Dear sir. I am a senior MEAN/FULL stack developer. I am a full stack developer extensively working on backend and frontend development. I have worked with node.js, angular.js, [login to view URL], react.js, node.js, Vue.js(+ Thêm

$155 USD trong 3 ngày
(36 Nhận xét)

Hello. How are you today? I've read your job post carefully. This job really attracts me and also your required skills are completely matched with my major skills. I have good knowledge and rich experience with it. I Thêm

$250 USD trong 5 ngày
(19 Nhận xét)

Hi, I'm a Web developer with 7+ years experience. I am a developer who understands the importance of communication and put the clients' needs and requirements ahead of everything. I believe that my strong expertise, Thêm

$150 USD trong 7 ngày
(10 Nhận xét)
$140 USD trong 10 ngày
(13 Nhận xét)

Hello there. I have gone through your requirement and highly interested in this position. As a MERN&MEAN fullstaker, I am pretty familiar with React, Angular 2+, JavaScript, Python&Django. Here are some of my previous Thêm

$150 USD trong 7 ngày
(14 Nhận xét)

Hi, I have 5+years Experience in Website/Software Design & Website Development. I'm an Expert in: -Frontend & Backend Development -Python -Data Science -Machine Learning -JVM technologies -Jquery, PHP -Ion Thêm

$155 USD trong 3 ngày
(13 Nhận xét)

Hello. I read your project very carefully and I am ready to start working on it. I am an expert with all the skills which you mentioned in your project description. If you want I can provide some test work to make y Thêm

$100 USD trong 2 ngày
(1 Nhận xét)

Hello, sir. How are you? Hoping you have a good luck. I have a good idea to complete your job greatly. Please, have a look my plan. If it's great for you, you will be able to work with me. I am a top Php, Laravel, Thêm

$88 USD trong 3 ngày
(1 Nhận xét)

Hi project owner ! Today I have read your job, I am very interested it and think this project is for me. I am a senior development and have rich experience for over 10 years in web project development. Also i am a e Thêm

$140 USD trong 7 ngày
(0 Nhận xét)

I Read through the job details extremely carefully and I am absolutely sure that I can do the project very well. I would love to work on your project and I'm confident that I can give the result and exceed your expecta Thêm

$100 USD trong 3 ngày
(0 Nhận xét)