FATAL ERROR: CALL_AND_RETRY_LAST Allocation failed – JavaScript heap out of memory

Recently I faced a strange issue where I’m not being able to compile my Angular 7.0 application because of the below error message ————————————————— FATAL ERROR: CALL_AND_RETRY_LAST Allocation failed – JavaScript heap out of memory 1: node::DecodeWrite 2: node_module_register 3: v8::internal::FatalProcessOutOfMemory 4: v8::internal::FatalProcessOutOfMemory 5: v8::internal::Heap::MaxHeapGrowingFactor 6: v8::internal::Factory::NewJSPromise 7: v8::internal::interpreter::operator<< 8: v8::internal::NativesCollection<0>::GetScriptsSource 9: v8::internal::NativesCollection<0>::GetScriptsSource 10: v8::internal::NativesCollection<0>::GetScriptsSource Read More …

Using Bootstrap with Angular Project

Having bootstrap in any web project is becoming crucial because it is making developer’s life much easier and making the web project mobile-friendly portals. I’ve been using bootstrap for like 8 years by now and it is becoming a main component for any project that I’m working on. In this post we will cover how Read More …

Agile Software Development Principles

Some basic principles of Agile Software Process: 1. Satisfy client by continuous delivery of valuable-workable software components/modules. 2. Welcome changes even in late development cycles 3. Deliver Workable software frequently, the shorter Agile sprints the better. 4. Keep client’s business people involved and work closely with them to get the project completed. 5. Make sure Read More …

MS SQL Management Studio Snippet

It is normal to keep writing very similar SQL statements while working on database logic. Over the course of the past 10 years, I’ve been using SQL Prompt from RedGate in order to make my life easier while writing repeated SQL statement, it is very nice tool that is integrated with SQL Server Management Studio Read More …

How to solve Access-Control-Allow-Origin

When you are trying to do an http post from your Jquery, Angular or any client side script language to an web API that has a different domain name as yours, you will be getting error on the web browser that says: No ‘Access-Control-Allow-Origin’ header is present on the requested resource. Origin ‘null’ is therefore Read More …

LastIndexOf in TSQL

I came a cross a case where I need to parse a string and get a everything after specific character. Unfortunately there is no a function that is being shipped out of the box with MS SQL Server that is doing the needed job. So we had to use 3 built-in functions in SQL in order to Read More …

Deploying AngularJs4 app to IIS Web Server

After finishing development your AngularJs 4 application, I think you would be thinking of what available options to publish your app, there is plenty of options available and described on Angular website but I’m summarizing the list of actions needed to deploy  your app to IIS server. Deploying Angular JS 4 applications to IIS Web server Read More …

Restarting Computer Remotely

I came across and issue where I can’t RDP to my PC which is located on another country and I need to get connected to it badly while there is no one physically can restarting the PC. So I had no option but restarting the PC remotely.. Thankfully there was an easy way where I Read More …