Protofy-xyz / Protofy

AI Supercharged LowCode Platform CMS and Framework 🚀🚀
https://protofy.xyz/
MIT License
235 stars 49 forks source link

In Chuwi larkbox X api-dev crashes each time the api file is edited #18

Closed jjjorgina closed 9 months ago

jjjorgina commented 9 months ago

Expected Behavior

api-dev should keep working as usual when changing its content

Current Behavior

After changing its content, api-dev crashes. Works good for the first "save", but then crashes after second one. We have also seen that the CPU usage goes to 100% when running the project.

Steps to Reproduce

Steps to reproduce the behavior:

  1. Go to an api function. (\packages\app\bundles\custom\apis\apifile.ts)
  2. Change its content and save.
  3. Change again and it will crash

Context (Environment)

Issue demo

https://github.com/Protofy-xyz/Protofy/assets/111370411/8e6999ce-e0b4-4592-9a43-7a1e25aed414

CPUUsagennn

lluis-protofy-xyz commented 9 months ago

Hi!

The CPU frequency is a bit suspicious. This computer should be running at around 2GHz.

I've found that these CPUs reduce their clock speed depending on the temperature, causing a drop in performance https://forum.chuwi.com/t/larkbox-fan-noise-and-temperatures/14595/73

Are you using the official power supply? Maybe the one you're using is limiting the maximum current available and the CPU can't run at its true frequency.

Thanks

theG3n15 commented 9 months ago

We close the issue as it seems that the problem is with the CPU of that computer (we recommend you having that computer checked). We have tested with less powerful CPU, Intel(R) Celron(R) J4125, and the api-dev works fine.