I'm creating an application in ASP.NET Core. And now I want to install my app in Linux using nginx, PostgreSQL. I'm uploaded my project to Linux and it work's. But I can't connect to DataBase. I'm using Npgsql.EntityFrameworkCore.PostgreSQL plugin for working with PostgreSQL.
When I run my application I'm getting the following exception:
An error occurred while seeding the database. System.OutOfMemoryException: Exception of type 'System.OutOfMemoryException' was thrown.
The PostgreSQL in Linux is installed and I created the database. But what's problem?
How can I fix it?