Joshua,

In /admin/settings/diffs/, there's a setting that allows you to limit the
size of uploaded diff files.

Unfortunately, we don't have any control over limiting the size of the
source files since we don't know a priori how big it will be when fetching
it from source control. If you have known things that are auto-generated,
I'd suggest configuring an exclude list in .reviewboardrc

-David

On Mon, Sep 10, 2018 at 9:47 AM Joshua Cannon <joshdcan...@gmail.com> wrote:

> Howdy folks!
>
> I recently ran into an issue where our users uploaded a diff against a 173
> MB JSON file (I suspect the diff was very involved too) which ate up all of
> our servers memory and started thrashing.
> Is there a way to limit the diff size/source file size to something
> reasonable?
>
> (Fun fact, the diff is large enough to blow through the Python stack frame
> limit when trying to render)
>
> Thanks!
>
> --
> Supercharge your Review Board with Power Pack:
> https://www.reviewboard.org/powerpack/
> Want us to host Review Board for you? Check out RBCommons:
> https://rbcommons.com/
> Happy user? Let us know! https://www.reviewboard.org/users/
> ---
> You received this message because you are subscribed to the Google Groups
> "Review Board Community" group.
> To unsubscribe from this group and stop receiving emails from it, send an
> email to reviewboard+unsubscr...@googlegroups.com.
> For more options, visit https://groups.google.com/d/optout.
>

-- 
Supercharge your Review Board with Power Pack: 
https://www.reviewboard.org/powerpack/
Want us to host Review Board for you? Check out RBCommons: 
https://rbcommons.com/
Happy user? Let us know! https://www.reviewboard.org/users/
--- 
You received this message because you are subscribed to the Google Groups 
"Review Board Community" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to reviewboard+unsubscr...@googlegroups.com.
For more options, visit https://groups.google.com/d/optout.

Reply via email to