Skip to content

High memory usage problem (solved) #34

Description

@Rchion

When I used this project, I used http request calls to move the PTZ. Every time I received a request, I would call new OnvifDevice() to operate. Then, because I would initiate a request to obtain device information during the object creation process, the memory overhead increased sharply when the call was frequent. Finally, I used a Map to store the objects corresponding to the devices so that each device was a singleton to reduce memory overhead. Thanks to the author , this project which provided me with great help.

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions