DylanPiercey / local-devices

🔮 Find devices connected to the current local network.
MIT License
140 stars 27 forks source link

Javascript Memory Heap issue on Large network #52

Open mabid-intagleo opened 2 years ago

mabid-intagleo commented 2 years ago

Hi, Team I am using the local-devices node module to get the list active IPs list from the same network, It is working very well, But I had another challenge same module I am using in another network which is very large, and this local-device module shows shortly message related to Javascript Memory Heap issue and closed CMD window.

Here example: Wi-Fi { networkAddress: '00.0.0.0', firstAddress: '00.0.0.1', lastAddress: '00.00.000.254', broadcastAddress: '00.000.000.255', subnetMask: '000.0.0.0', subnetMaskLength: 8, numHosts: 16999106, length: 16999104 }

0 means one digit could be any number based on network 00 means two digits could be any number based on network 000 mean three digits could be any number based on network