- Mark as New
- Bookmark
- Subscribe
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
02-27-2017
01:51 AM
02-27-2017
01:51 AM
Re: Tough time iinstalling magento 2.1.5 on vps server
Unfortunately, you don't have enough RAM memory in order to make composer work properly. You probably have less than 2Gb of memory on VPS. You'll have to upgrade your hosting to first bigger plan.
There is one workaround, which can be achieved by turning on swap file:
sudo /bin/dd if=/dev/zero of=/var/swap.1 bs=1M count=2048 sudo /sbin/mkswap /var/swap.1 sudo /sbin/swapon /var/swap.1
But it may happen that your hosting is using KVM virtualization for VPS, so you may be disallowed to do that. No matter what, it's still huge performance degradation if you use swap memory, so for production environment you should consider increasing total RAM memory.
If this response was helpful to you, consider giving kudos to this post.
If this response solved your problem, click accept as solution to help others solve this issue
If this response was helpful to you, consider giving kudos to this post.
If this response solved your problem, click accept as solution to help others solve this issue
If this response solved your problem, click accept as solution to help others solve this issue