Home › Forums › General Questions › How to solve the problem that verge3d web application memory usage has been increasing?
- This topic has 7 replies, 3 voices, and was last updated 1 year, 5 months ago by
kdv.
-
AuthorPosts
-
2024-06-18 at 7:59 am #74922
Yearning for the future
CustomerHello everyone,
I have completed the web application project, but when I open the project page for a long time, the browser shows that the memory usage keeps increasing and eventually causes the page to crash. How do I solve the crash problem caused by the page increment?
This is my application network address: https://www.suk.fit/eae3/
2024-06-18 at 8:30 am #74925
Yuri KovelenovStaff2024-06-18 at 10:49 am #74928Yearning for the future
CustomerThank you, but there is no operation in the project, only a circular animation sequence frame
2024-06-18 at 1:12 pm #74933kdv
ParticipantYour v3d scene generates a huge amount of geometry buffers.

but there is no operation in the project
Are your really sure?
updateTextObjis a culprit. this function, if called every frame (like in your app), generates a lot of geometries.registerEveryFrame(function() { Height_value = getObjTransform('移动层_ctrl', false, 'position', 'z') - 0.3; Function('app', 'v3d', 'puzzles', 'VARS', 'PROC', (('let value=VARS[\'Height_value\'] * 1000;' + '\n' + 'VARS[\'Height_value\']=value.toFixed(0);')))(appInstance, v3d, PL, VARS, PROC); updateTextObj('Text', Height_value); updateTextObj('Text.001', Height_value); });Puzzles and JS coding. Fast and expensive.
If you don’t see the meaning in something it primarily means that you just don’t see it but not the absence of the meaning at all.
2024-06-19 at 1:34 am #74949Yearning for the future
CustomerOuch! Yes, I remember, there is indeed a text update object in the scene! But how do I fix it?
2024-06-19 at 1:35 am #74950kdv
ParticipantGet rid of it.
Puzzles and JS coding. Fast and expensive.
If you don’t see the meaning in something it primarily means that you just don’t see it but not the absence of the meaning at all.
2024-06-19 at 7:20 am #74982Yearning for the future
CustomerHowever, I need to calculate the rising height of the machine in real time and display it on the interface screen on the side. If I delete it, I will not be able to meet the customer’s demand, so is there any other way to achieve it besides deleting it?
2024-06-19 at 11:41 pm #75064kdv
Participant300$
Puzzles and JS coding. Fast and expensive.
If you don’t see the meaning in something it primarily means that you just don’t see it but not the absence of the meaning at all.
-
AuthorPosts
- You must be logged in to reply to this topic.


