Is there any way to constrain the resources QGis uses?

classic Classic list List threaded Threaded
5 messages Options
Reply | Threaded
Open this post in threaded view
|

Is there any way to constrain the resources QGis uses?

Ian Turton
I know that sounds like something you wouldn't want to do but we have a number of users sharing a VM and if the first QGis started manages to grab all (or even most) of the available memory it prevents the other users from being able to start QGis let alone use it.

Cheers

Ian

--
Ian Turton

_______________________________________________
Qgis-user mailing list
[hidden email]
List info: https://lists.osgeo.org/mailman/listinfo/qgis-user
Unsubscribe: https://lists.osgeo.org/mailman/listinfo/qgis-user
Reply | Threaded
Open this post in threaded view
|

Re: Is there any way to constrain the resources QGis uses?

Andreas Neumann-4

Hi Ian,

You can limit the nr of CPU cores it uses for rendering:

Settings --> Options --> Rendering --> Render layers in parallel / Max cores

I don't think you can limit memory consumption with QGIS settings.

Andreas

On 2017-02-09 14:31, Ian Turton wrote:

I know that sounds like something you wouldn't want to do but we have a number of users sharing a VM and if the first QGis started manages to grab all (or even most) of the available memory it prevents the other users from being able to start QGis let alone use it.
 
Cheers
 
Ian
 
--
Ian Turton

_______________________________________________
Qgis-user mailing list
[hidden email]
List info: https://lists.osgeo.org/mailman/listinfo/qgis-user
Unsubscribe: https://lists.osgeo.org/mailman/listinfo/qgis-user

 

 

_______________________________________________
Qgis-user mailing list
[hidden email]
List info: https://lists.osgeo.org/mailman/listinfo/qgis-user
Unsubscribe: https://lists.osgeo.org/mailman/listinfo/qgis-user
Reply | Threaded
Open this post in threaded view
|

Re: Is there any way to constrain the resources QGis uses?

Richard McDonnell
Ian,
You could try to limit the max amount of ram available for each VM, this would have been done when each, was created, you should probably start there!
Its under Settings, System, Motherboard and Base Memory, I would say reduce it so as each VM has equal Memory and you leave a bit for the host.

Regards,

Richard.

On 09/02/2017 14:26, Neumann, Andreas wrote:

Hi Ian,

You can limit the nr of CPU cores it uses for rendering:

Settings --> Options --> Rendering --> Render layers in parallel / Max cores

I don't think you can limit memory consumption with QGIS settings.

Andreas

On 2017-02-09 14:31, Ian Turton wrote:

I know that sounds like something you wouldn't want to do but we have a number of users sharing a VM and if the first QGis started manages to grab all (or even most) of the available memory it prevents the other users from being able to start QGis let alone use it.
 
Cheers
 
Ian
 
--
Ian Turton

_______________________________________________
Qgis-user mailing list
[hidden email]
List info: https://lists.osgeo.org/mailman/listinfo/qgis-user
Unsubscribe: https://lists.osgeo.org/mailman/listinfo/qgis-user

 

 


_______________________________________________
Qgis-user mailing list
[hidden email]
List info: https://lists.osgeo.org/mailman/listinfo/qgis-user
Unsubscribe: https://lists.osgeo.org/mailman/listinfo/qgis-user

--
Richard McDonnell
GIS Specialist PgD GIS AssocSCSI
OPW FRM Data Management
52 Stephens Green, Dublin 2.
TEL: 01 6476543


_______________________________________________
Qgis-user mailing list
[hidden email]
List info: https://lists.osgeo.org/mailman/listinfo/qgis-user
Unsubscribe: https://lists.osgeo.org/mailman/listinfo/qgis-user
Reply | Threaded
Open this post in threaded view
|

Re: Is there any way to constrain the resources QGis uses?

Ian Turton
We have several users on the same VM which is what causes the contention for memory

Ian

On 10 February 2017 at 13:44, Richard McDonnell <[hidden email]> wrote:
Ian,
You could try to limit the max amount of ram available for each VM, this would have been done when each, was created, you should probably start there!
Its under Settings, System, Motherboard and Base Memory, I would say reduce it so as each VM has equal Memory and you leave a bit for the host.

Regards,

Richard.


On 09/02/2017 14:26, Neumann, Andreas wrote:

Hi Ian,

You can limit the nr of CPU cores it uses for rendering:

Settings --> Options --> Rendering --> Render layers in parallel / Max cores

I don't think you can limit memory consumption with QGIS settings.

Andreas

On 2017-02-09 14:31, Ian Turton wrote:

I know that sounds like something you wouldn't want to do but we have a number of users sharing a VM and if the first QGis started manages to grab all (or even most) of the available memory it prevents the other users from being able to start QGis let alone use it.
 
Cheers
 
Ian
 
--
Ian Turton

_______________________________________________
Qgis-user mailing list
[hidden email]
List info: https://lists.osgeo.org/mailman/listinfo/qgis-user
Unsubscribe: https://lists.osgeo.org/mailman/listinfo/qgis-user

 

 


_______________________________________________
Qgis-user mailing list
[hidden email]
List info: https://lists.osgeo.org/mailman/listinfo/qgis-user
Unsubscribe: https://lists.osgeo.org/mailman/listinfo/qgis-user

--
Richard McDonnell
GIS Specialist PgD GIS AssocSCSI
OPW FRM Data Management
52 Stephens Green, Dublin 2.
TEL: 01 6476543


_______________________________________________
Qgis-user mailing list
[hidden email]
List info: https://lists.osgeo.org/mailman/listinfo/qgis-user
Unsubscribe: https://lists.osgeo.org/mailman/listinfo/qgis-user



--
Ian Turton

_______________________________________________
Qgis-user mailing list
[hidden email]
List info: https://lists.osgeo.org/mailman/listinfo/qgis-user
Unsubscribe: https://lists.osgeo.org/mailman/listinfo/qgis-user
Reply | Threaded
Open this post in threaded view
|

Re: Is there any way to constrain the resources QGis uses?

Nicolas Cadieux
Hi,

Qgis works well with 4GB of memory on windows 7-64 for simple projects.  If possible, I would have more that one VM that would be configured with each 4GB of ram and limit 1 user at a time per VM.  If your server can handle the load, that would be the best way to go it think.

Nicolas

Le 10 févr. 2017 à 09:04, Ian Turton [via OSGeo.org] <[hidden email]> a écrit :

We have several users on the same VM which is what causes the contention for memory

Ian

On 10 February 2017 at 13:44, Richard McDonnell <[hidden email]> wrote:
Ian,
You could try to limit the max amount of ram available for each VM, this would have been done when each, was created, you should probably start there!
Its under Settings, System, Motherboard and Base Memory, I would say reduce it so as each VM has equal Memory and you leave a bit for the host.

Regards,

Richard.


On 09/02/2017 14:26, Neumann, Andreas wrote:

Hi Ian,

You can limit the nr of CPU cores it uses for rendering:

Settings --> Options --> Rendering --> Render layers in parallel / Max cores

I don't think you can limit memory consumption with QGIS settings.

Andreas

On 2017-02-09 14:31, Ian Turton wrote:

I know that sounds like something you wouldn't want to do but we have a number of users sharing a VM and if the first QGis started manages to grab all (or even most) of the available memory it prevents the other users from being able to start QGis let alone use it.
 
Cheers
 
Ian
 
--
Ian Turton

_______________________________________________
Qgis-user mailing list
[hidden email]
List info: https://lists.osgeo.org/mailman/listinfo/qgis-user
Unsubscribe: https://lists.osgeo.org/mailman/listinfo/qgis-user

 

 


_______________________________________________
Qgis-user mailing list
[hidden email]
List info: https://lists.osgeo.org/mailman/listinfo/qgis-user
Unsubscribe: https://lists.osgeo.org/mailman/listinfo/qgis-user

--
Richard McDonnell
GIS Specialist PgD GIS AssocSCSI
OPW FRM Data Management
52 Stephens Green, Dublin 2.
TEL: 01 6476543


_______________________________________________
Qgis-user mailing list
[hidden email]
List info: https://lists.osgeo.org/mailman/listinfo/qgis-user
Unsubscribe: https://lists.osgeo.org/mailman/listinfo/qgis-user



--
Ian Turton

_______________________________________________
Qgis-user mailing list
[hidden email]
List info: https://lists.osgeo.org/mailman/listinfo/qgis-user
Unsubscribe: https://lists.osgeo.org/mailman/listinfo/qgis-user


If you reply to this email, your message will be added to the discussion below:
http://osgeo-org.1560.x6.nabble.com/Is-there-any-way-to-constrain-the-resources-QGis-uses-tp5307180p5307432.html
To start a new topic under QGIS - User, email [hidden email]
To unsubscribe from QGIS - User, click here.
NAML