Skip to content

Limit memory usage #67

Description

@forceedge01

We're hitting memory limit issues on mac os x behat 2.5 and behat 3.0 when using the sql extension with over 6000 steps and PHP memory limit of 384 mb.

Ideas on how to solve this problem from the sql extensions perspective.

Reduce the memory footprint by:

  • Make the SQLHistory object optional. Don't record history if not provided.
  • Documenting that the local keystore can be replaced by a solution that stores keys externally such as Redis keystore.

This needs to be applied on both 2.5.x and 3.x versions.

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