S
S
Svyatoslav Khusamov2015-10-25 18:18:30
npm
Svyatoslav Khusamov, 2015-10-25 18:18:30

How to use npm publish with limited computer resources?

Hello!
I have VDS with RAM = 512 Mb. VDS is on c9.io on a free plan.
The
`$ npm publish` command
caused this error:
`Killed`
Either there was not enough memory, or something else... Is there any way to get around this problem without changing the VDS?

Answer the question

In order to leave comments, you need to log in

7 answer(s)
D
Dimonchik, 2015-10-25
@khusamov

1) logs
2) install a local Virtualbox with VDS parameters, check it
from here (link below) kivy.org/#download you can download the finished Ubuntu and fix it from 1GB to 512 RAM

S
Soslan Aldatov, 2015-10-25
@sptm

Yes, most likely, simply did not have enough memory.
Increase the size of the swap partition (and if it doesn't exist, which happens on VDS, add it).

F
Fyodor, 2013-03-12
@Richard_Ferlow

I would advise synology 512MB they have starting in DS213 it seems - it costs from 15 thousand DS212 from 10 thousand it seems, but 256 memory. although in general - I have enough. I use it just for everything described, it eats little, it works relatively quietly (the disks are not the coldest, they just stand, it could be quieter). I don’t use the only DLNA, because all this is dreary and buggy due to the format, IMHO. I look through samba.
things are not the cheapest, but updates are coming to the firmware, very convenient control, a lot of programs for remote control. for android, iphone. for the opera there is even an extension (third-party developer), which from a pirate bay, let's say, allows you to add a task to the download with a mouse click. which is a good thing, I'm satisfied.
I have DS211j
www.synology.com

A
avstepanov, 2013-03-12
@avstepanov

I have synologues (albeit a 4-disk one, but the operating systems are identical there - DSM). Everything you need is there. The web server rises in two clicks - it works.

M
MisterSpock, 2014-01-30
@MisterSpock

Sinology and DiskStation Manager are the best choice for serious NAS. True, I use a regular WD, but it's more of a redneck :)
In principle, according to reviews and all reviews, it turns out that Synology NAS have a better margin of safety than Iomega, for example, and are more comfortable for an individual user than Buffalo.
I can only say one thing about self-assembly NAS: they are noisy . I have not seen silent NAS, and this is just a problem with cases with any normal cooling. Of course, if you put dropsy and passive cooling wherever possible ... but this, in my opinion, is an extra expense and effort.

P
Pulse, 2013-03-13
@Pulse

It seems to me that, given the prices for more or less sane NAS models, it is still cheaper and more interesting to assemble it yourself.
For starters, you can not even put the OS itself under it, but use ready-made assemblies a la FreeNAS, etc.

A
avstepanov, 2013-03-14
@avstepanov

IMHO, if you want to “dig deeper” and have time for this, you can collect, in the process to master something interesting.
If you don’t feel like “poking around” (or don’t have time) and have money, take something ready-made at the “synology” level.
If there is a limitation in the means, you can take something like: experthd.ru/products/xtreamer-pro - at the same time combine “business with pleasure” (a web server is also raised there, I tested it - wordpress and joomla work, not fast , but they work).

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question