Skip to content

Need advice on installing hnswlib with limited memory on t2.micro instance

0

Hi AWS Community,

I'm currently facing an issue while trying to install hnswlib on my t2.micro instance (1 GB memory, Ubuntu (Inferred)) under the free tier. The installation process gets stuck at building the wheel, and eventually, the process is killed. I suspect that the limited memory is causing this problem.

I reached out to a customer service representative who informed me that I need to build usage before upgrading to paid services and obtaining more memory. Consequently, I find myself stuck in this situation.

Could you please provide me with advice on how to resolve this problem? Thank you in advance for your assistance!

asked 3 years ago449 views
1 Answer
1
Accepted Answer

If the t2.micro doesn't have enough memory then you'll have to uplift the instance type. t2.micro has 1GB memory, t2.small has 2GB, t2.medium has 4GB, and t2.large has 8GB (the latter two will also give you 2 CPUs rather than 1).

Be aware that whatever you choose will be outside of free tier and thus will be chargeable. I'm not sure what the customer service representative means by building usage, the new instance type can be provisioned today and charged to the payment method provided when your AWS account was created.

Full specs and prices can be found at https://aws.amazon.com/ec2/pricing/on-demand/

EXPERT
answered 3 years ago
  • RWC, thank you for information.

You are not logged in. Log in to post an answer.

A good answer clearly answers the question and provides constructive feedback and encourages professional growth in the question asker.